summaryrefslogtreecommitdiff
path: root/sample/test_ipv6_icmpv4.c
diff options
context:
space:
mode:
Diffstat (limited to 'sample/test_ipv6_icmpv4.c')
-rw-r--r--sample/test_ipv6_icmpv4.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sample/test_ipv6_icmpv4.c b/sample/test_ipv6_icmpv4.c
index 704c5ac..03c2222 100644
--- a/sample/test_ipv6_icmpv4.c
+++ b/sample/test_ipv6_icmpv4.c
@@ -33,8 +33,11 @@
#include "./libnet_test.h"
#include <assert.h>
-
+#ifdef _WIN32
+#include <winsock2.h>
+#else
#include <netinet/in.h>
+#endif
static void print_pblocks(libnet_t* l)
{