Set media status for newer TAP-Win32 driver.
[tinc] / system.h
index d3aa842..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