summary refs log tree commit diff
path: root/include/compat/netinet/ip.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/compat/netinet/ip.h')
-rw-r--r--include/compat/netinet/ip.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/compat/netinet/ip.h b/include/compat/netinet/ip.h
index 6019f7d..29f17f3 100644
--- a/include/compat/netinet/ip.h
+++ b/include/compat/netinet/ip.h
@@ -8,7 +8,9 @@
 #endif
 
 #ifndef _WIN32
+#ifdef HAVE_NETINET_IP_H
 #include_next <netinet/ip.h>
+#endif
 #else
 #include <win32netcompat.h>
 #endif