From 2edc764a333764e7e5c4d3420131c13e9c81ecf7 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Wed, 30 Jul 2003 16:00:59 +0000 Subject: [PATCH] Replacement for stdbool.h --- system.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 -- 2.25.1