]> The Tcpdump Group git mirrors - libpcap/commitdiff
Exclude the <arpa/inet.h> header on Windows
authorFrancois-Xavier Le Bail <[email protected]>
Mon, 29 Aug 2016 15:40:10 +0000 (17:40 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Mon, 29 Aug 2016 15:40:10 +0000 (17:40 +0200)
extract.h

index 2586023708b32d0bcf846d60665146afdf3c5cd5..face5b7e94cd8dec54972951e220b55f080370e2 100644 (file)
--- a/extract.h
+++ b/extract.h
@@ -19,7 +19,9 @@
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef _WIN32
 #include <arpa/inet.h>
+#endif
 
 /*
  * Macros to extract possibly-unaligned big-endian integral values.