fix lwip_tcp_priv.h: use #ifndef _WIN32 for arpa/inet.h (FreeBSD compat)
This commit is contained in:
1 parent
edeb83ce89
commit
d00996243d
1 file changed
+1
-1
@@ -23,7 +23,7 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __linux__
|
||||
#ifndef _WIN32
|
||||
#include <arpa/inet.h>
|
||||
#else
|
||||
#define htons(x) ((((x) & 0xFF) << 8) | (((x) >> 8) & 0xFF))
|
||||
|
||||
Reference in new issue
Block a user