X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=system.h;h=0d7b3187d62931634a437ff1b0ed34a30f01b811;hp=d4381dc5104ec82a845d6e463dc8b669380a00dd;hb=2edc764a333764e7e5c4d3420131c13e9c81ecf7;hpb=64fd25aa6b794bb1d957b50d48705f30ed47c878 diff --git a/system.h b/system.h index d4381dc5..0d7b3187 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 @@ -115,7 +122,7 @@ #ifdef HAVE_MINGW #include -#include +#include #endif /* Include localisation support */