]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Include <stdbool.h> unconditionally.
authorJim Meyering <jim@meyering.net>
Fri, 6 Jun 2003 19:16:31 +0000 (19:16 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 6 Jun 2003 19:16:31 +0000 (19:16 +0000)
lib/cycle-check.c
lib/cycle-check.h

index fb1746fcf7afdb39ee4268b5b5bd0414b37c8f85..8c7463b2f8338673dce5e70c356a6f1f5ee4463b 100644 (file)
 #include <assert.h>
 #include <stdlib.h>
 
-#if HAVE_STDBOOL_H
-# include <stdbool.h>
-#else
-typedef enum {false = 0, true = 1} bool;
-#endif
+#include <stdbool.h>
 
 #include "cycle-check.h"
 #include "xalloc.h"
index 6f8c55d5d3e059eb7b63d3ff36035c13c1a309f1..5f2ad1dc17afcc11d8dc5ca73d29453b51382846 100644 (file)
        #include <sys/types.h>
        #include <sys/stat.h>
 
-       #if HAVE_STDBOOL_H
-       # include <stdbool.h>
-       #else
-       typedef enum {false = 0, true = 1} bool;
-       #endif
+       #include <stdbool.h>
 
    so that the proper identifiers are all declared.  */