summaryrefslogtreecommitdiffstats
path: root/lib/src/protocol/ipv4.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/src/protocol/ipv4.c')
-rw-r--r--lib/src/protocol/ipv4.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/src/protocol/ipv4.c b/lib/src/protocol/ipv4.c
index 7c6af127d..c0b2aaa8c 100644
--- a/lib/src/protocol/ipv4.c
+++ b/lib/src/protocol/ipv4.c
@@ -20,8 +20,10 @@
* NOTE: IPv4 options (affecting the header size) are currently not supported.
*/
+#ifndef _WIN32
#include <arpa/inet.h>
#include <netinet/in.h>
+#endif
#include <stdlib.h>
#include <string.h>