projects
/
oweals
/
tinc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Under Windows, the installation directory can be found in the registry.
[oweals/tinc.git]
/
system.h
diff --git
a/system.h
b/system.h
index 0d7b3187d62931634a437ff1b0ed34a30f01b811..e38fba192764ceb73260a710ec01525507ad459f 100644
(file)
--- a/
system.h
+++ b/
system.h
@@
-92,10
+92,6
@@
typedef int bool;
#include <netdb.h>
#endif
#include <netdb.h>
#endif
-#ifdef HAVE_ARPA_INET_H
-#include <arpa/inet.h>
-#endif
-
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
@@
-112,6
+108,10
@@
typedef int bool;
#include <netinet/in.h>
#endif
#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
#ifdef HAVE_NETINET_IP_H
#include <netinet/ip.h>
#endif
@@
-120,6
+120,14
@@
typedef int bool;
#include <netinet/tcp.h>
#endif
#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>
#ifdef HAVE_MINGW
#include <windows.h>
#include <winsock2.h>