Include <stdbool.h> unconditionally.
authorJim Meyering <jim@meyering.net>
Fri, 6 Jun 2003 19:17:37 +0000 (19:17 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 6 Jun 2003 19:17:37 +0000 (19:17 +0000)
src/system.h

index c4c4d64..ae16301 100644 (file)
@@ -117,11 +117,7 @@ void *memrchr (const void *, int, size_t);
 extern int errno;
 #endif
 
-#if HAVE_STDBOOL_H
-# include <stdbool.h>
-#else
-typedef enum {false = 0, true = 1} bool;
-#endif
+#include <stdbool.h>
 
 #if HAVE_STDLIB_H
 # define getopt system_getopt