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://git.librecmc.org/?a=commitdiff_plain;h=2edc764a333764e7e5c4d3420131c13e9c81ecf7;p=oweals%2Ftinc.git Replacement for stdbool.h --- diff --git a/system.h b/system.h index 73f7aeb..0d7b318 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