fix lwip_tcp_priv.h: use #ifndef _WIN32 for arpa/inet.h (FreeBSD compat)

This commit is contained in:
Evgeny committed 2026-05-12 22:00:41 +03:00
1 parent edeb83ce89
commit d00996243d
1 file changed
+1 -1
+1 -1
View File
@@ -23,7 +23,7 @@
#endif
#endif
#ifdef __linux__
#ifndef _WIN32
#include <arpa/inet.h>
#else
#define htons(x) ((((x) & 0xFF) << 8) | (((x) >> 8) & 0xFF))