posix: Add headers related to BSD Sockets API
A few of these headers are currently empty and provided to avoid compiler errors when building existing software. This set of headers is what is required to build https://github.com/open62541/open62541 with Zephyr. Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
This commit is contained in:
parent
3a9173afe1
commit
de7fb74750
7 changed files with 210 additions and 0 deletions
11
include/posix/netinet/in.h
Normal file
11
include/posix/netinet/in.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
/*
|
||||
* Copyright (c) 2019 Linaro Limited
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
#ifndef ZEPHYR_INCLUDE_POSIX_NETINET_IN_H_
|
||||
#define ZEPHYR_INCLUDE_POSIX_NETINET_IN_H_
|
||||
|
||||
#include <net/socket.h>
|
||||
|
||||
#endif /* ZEPHYR_INCLUDE_POSIX_NETINET_IN_H_ */
|
11
include/posix/netinet/tcp.h
Normal file
11
include/posix/netinet/tcp.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
/*
|
||||
* Copyright (c) 2019 Linaro Limited
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
#ifndef ZEPHYR_INCLUDE_POSIX_NETINET_TCP_H_
|
||||
#define ZEPHYR_INCLUDE_POSIX_NETINET_TCP_H_
|
||||
|
||||
#include <net/socket.h>
|
||||
|
||||
#endif /* ZEPHYR_INCLUDE_POSIX_NETINET_TCP_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue