projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Compilation fix.
[tinc]
/
system.h
diff --git
a/system.h
b/system.h
index
0d7b318
..
e38fba1
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>