1 /*
2  * Copyright (c) 2022 Meta
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #include "_common.h"
8 
9 #ifdef CONFIG_POSIX_API
10 #include <netinet/tcp.h>
11 #else
12 #include <zephyr/posix/netinet/tcp.h>
13 #endif
14 
15 /**
16  * @brief existence test for `<netinet/tcp.h>`
17  *
18  * @see <a href="https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/netinet_tcp.h.html">netinet/tcp.h</a>
19  */
ZTEST(posix_headers,test_netinet_tcp_h)20 ZTEST(posix_headers, test_netinet_tcp_h)
21 {
22 	zassert_not_equal(-1, TCP_NODELAY);
23 }
24