Zephyr fcntl

This commit is contained in:
Sergio R. Caprile 2024-03-21 13:57:10 -03:00
parent d7b2b3f42e
commit fd84109c1d
2 changed files with 10 additions and 2 deletions

View File

@ -522,7 +522,7 @@ typedef int socklen_t;
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <zephyr/posix/fcntl.h>
#include <zephyr/net/socket.h>
#include <stdarg.h>
#include <stdbool.h>
@ -3080,6 +3080,14 @@ struct mg_tcpip_driver_tm4c_data {
#endif
#if MG_ENABLE_TCPIP && defined(MG_ENABLE_DRIVER_W5500) && MG_ENABLE_DRIVER_W5500
#undef MG_ENABLE_TCPIP_DRIVER_INIT
#define MG_ENABLE_TCPIP_DRIVER_INIT 0
#endif
#ifdef __cplusplus
}
#endif

View File

@ -6,7 +6,7 @@
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <zephyr/posix/fcntl.h>
#include <zephyr/net/socket.h>
#include <stdarg.h>
#include <stdbool.h>