Remove autogen.sh, the autoreconf program does exactly that.
[tinc] / system.h
index 0d7b318..e38fba1 100644 (file)
--- a/system.h
+++ b/system.h
@@ -92,10 +92,6 @@ typedef int bool;
 #include <netdb.h>
 #endif
 
-#ifdef HAVE_ARPA_INET_H
-#include <arpa/inet.h>
-#endif
-
 #ifdef HAVE_SYS_SOCKET_H
 #include <sys/socket.h>
 #endif
@@ -112,6 +108,10 @@ typedef int bool;
 #include <netinet/in.h>
 #endif
 
+#ifdef HAVE_ARPA_INET_H
+#include <arpa/inet.h>
+#endif
+
 #ifdef HAVE_NETINET_IP_H
 #include <netinet/ip.h>
 #endif
@@ -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>