$NetBSD: patch-aa,v 1.2 2006/09/16 11:44:26 rillig Exp $

Some systems don't have <stdbool.h>.

--- src/Headers/basic.h.orig	2003-04-21 00:45:26.000000000 +0200
+++ src/Headers/basic.h	2006-09-16 13:26:56.805383344 +0200
@@ -22,8 +22,11 @@
 # include <stdlib.h>
 # include <stdio.h>
 
-# ifndef WIN32
-/* Microsoft VC++ still doesn't support ISO C99... */
+# if defined(WIN32) || (defined(__GNUC__) && (__GNUC__ == 2)) || (defined(__sun) && !(__STDC_VERSION__ >= 199901L))
+#define bool int
+#define false 0
+#define true 1
+# else
 # include <stdbool.h>
 # endif
 
