aboutsummaryrefslogtreecommitdiff
path: root/extract.h
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2016-08-29 17:40:10 +0200
committerFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2016-08-29 17:40:10 +0200
commitb737742bd36738d90cf77ff897fbbc17ac915783 (patch)
treebc1037dafdd8740b9067fd88dbfbcde03ebba48c /extract.h
parent93ca5ff7030aaf1219e1de05ec89a68384bfc50b (diff)
Exclude the <arpa/inet.h> header on Windows
Diffstat (limited to 'extract.h')
-rw-r--r--extract.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/extract.h b/extract.h
index 25860237..face5b7e 100644
--- 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.