X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=system.h;h=e38fba192764ceb73260a710ec01525507ad459f;hp=73f7aeb1cd558ce3c35f94fb8c41f7a3e0e18657;hb=6d41b429a26dd1acaa7c56b2124f2daf55b5b97c;hpb=721e4caee0f7c6e003c297c95fb6d93bd4102219 diff --git a/system.h b/system.h index 73f7aeb1..e38fba19 100644 --- a/system.h +++ b/system.h @@ -27,7 +27,6 @@ #include #include -#include #include #include #include @@ -36,6 +35,14 @@ #include #include +#ifdef HAVE_STDBOOL_H +#include +#else +typedef int bool; +#define true 1 +#define false 0 +#endif + #ifdef HAVE_TERMIOS_H #include #endif @@ -85,10 +92,6 @@ #include #endif -#ifdef HAVE_ARPA_INET_H -#include -#endif - #ifdef HAVE_SYS_SOCKET_H #include #endif @@ -105,6 +108,10 @@ #include #endif +#ifdef HAVE_ARPA_INET_H +#include +#endif + #ifdef HAVE_NETINET_IP_H #include #endif @@ -113,6 +120,14 @@ #include #endif +#ifdef HAVE_NETINET_IN6_H +#include +#endif + +#ifdef HAVE_NETINET_IP6_H +#include +#endif + #ifdef HAVE_MINGW #include #include