Skip to content

Commit

Permalink
Merge pull request #2655 from cesanta/z
Browse files Browse the repository at this point in the history
Zephyr fcntl
  • Loading branch information
scaprile authored Mar 21, 2024
2 parents d7b2b3f + fd84109 commit f58b90f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion mongoose.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/arch_zephyr.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit f58b90f

Please sign in to comment.