File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 4747
4848#if defined(__ZEPHYR__ )
4949#include <strings.h>
50- #if defined(CONFIG_POSIX_SYSTEM_INTERFACES )
51- #include <arpa/inet.h>
52- #include <sys/select.h>
53- #include <sys/socket.h>
54- #include <unistd.h>
55- #else /* defined(CONFIG_POSIX_SYSTEM_INTERFACES ) */
50+ #if defined(CONFIG_POSIX_API )
51+ #include <zephyr/posix/ arpa/inet.h>
52+ #include <zephyr/posix/ sys/select.h>
53+ #include <zephyr/posix/ sys/socket.h>
54+ #include <zephyr/posix/ unistd.h>
55+ #else /* defined(CONFIG_POSIX_API ) */
5656#include <zephyr/net/socket.h>
5757#include <zephyr/net/socket_select.h>
5858#include <zephyr/net/net_ip.h>
59- #endif /* defined(CONFIG_POSIX_SYSTEM_INTERFACES ) */
59+ #endif /* defined(CONFIG_POSIX_API ) */
6060#include <zephyr/shell/shell.h>
6161
6262#define signal (a , b ) (void)(b)
Original file line number Diff line number Diff line change 66 */
77
88#include <time.h>
9- #include <sys/time.h>
109
10+ #include <zephyr/posix/sys/time.h>
1111#include <zephyr/random/random.h>
1212
1313#include "includes.h"
You can’t perform that action at this time.
0 commit comments