From: Guus Sliepen Date: Wed, 30 Jul 2003 16:00:59 +0000 (+0000) Subject: Replacement for stdbool.h X-Git-Tag: release-1.0~29 X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=commitdiff_plain;h=2edc764a333764e7e5c4d3420131c13e9c81ecf7 Replacement for stdbool.h --- diff --git a/system.h b/system.h index 73f7aeb1..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