diff options
Diffstat (limited to 'sample/test_ipv6_icmpv4.c')
-rw-r--r-- | sample/test_ipv6_icmpv4.c | 5 |
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) { |