diff options
author | Jim Meyering <jim@meyering.net> | 2003-06-06 19:16:31 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-06-06 19:16:31 +0000 |
commit | e5818cca68342e9f81e886e7a40432fb169d0c7d (patch) | |
tree | 03d1e10cdfd0289218370831f555c5df9b295890 /lib | |
parent | 4a57eac20dc5aa55b0d9beaefd00c35928b88de0 (diff) | |
download | coreutils-e5818cca68342e9f81e886e7a40432fb169d0c7d.tar.xz |
Include <stdbool.h> unconditionally.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/cycle-check.c | 6 | ||||
-rw-r--r-- | lib/cycle-check.h | 6 |
2 files changed, 2 insertions, 10 deletions
diff --git a/lib/cycle-check.c b/lib/cycle-check.c index fb1746fcf..8c7463b2f 100644 --- a/lib/cycle-check.c +++ b/lib/cycle-check.c @@ -28,11 +28,7 @@ #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" diff --git a/lib/cycle-check.h b/lib/cycle-check.h index 6f8c55d5d..5f2ad1dc1 100644 --- a/lib/cycle-check.h +++ b/lib/cycle-check.h @@ -10,11 +10,7 @@ #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. */ |