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:
Paul Sokolovsky 2019-02-26 15:34:55 +03:00 committed by Jukka Rissanen
commit de7fb74750
7 changed files with 210 additions and 0 deletions

View 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_ */

View 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_ */