No easy way to properly detect header files...
[oweals/tinc.git] / system.h
index 0d7b3187d62931634a437ff1b0ed34a30f01b811..d3aa84296f0c11465bdc9beaa621e54464dd1227 100644 (file)
--- a/system.h
+++ b/system.h
@@ -120,6 +120,14 @@ typedef int bool;
 #include <netinet/tcp.h>
 #endif
 
+#ifdef HAVE_NETINET_IN6_H
+#include <netinet/in6.h>
+#endif
+
+#ifdef HAVE_NETINET_IP6_H
+#include <netinet/ip6.h>
+#endif
+
 #ifdef HAVE_MINGW
 #include <windows.h>
 #include <winsock2.h>