X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=system.h;h=0d7b3187d62931634a437ff1b0ed34a30f01b811;hp=c4dd0d14cdfe2a049fa63b395153ea523f23dab7;hb=2edc764a333764e7e5c4d3420131c13e9c81ecf7;hpb=e449d94caef963809d417f16497f6f978e10d731 diff --git a/system.h b/system.h index c4dd0d14..0d7b3187 100644 --- a/system.h +++ b/system.h @@ -27,7 +27,6 @@ #include #include -#include #include #include #include @@ -35,7 +34,18 @@ #include #include #include + +#ifdef HAVE_STDBOOL_H +#include +#else +typedef int bool; +#define true 1 +#define false 0 +#endif + +#ifdef HAVE_TERMIOS_H #include +#endif #ifdef HAVE_INTTYPES_H #include @@ -72,7 +82,7 @@ #endif #ifdef HAVE_SYS_PARAM_H -#include +#include #endif /* SunOS really wants sys/socket.h BEFORE net/if.h, @@ -112,7 +122,7 @@ #ifdef HAVE_MINGW #include -#include +#include #endif /* Include localisation support */