summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/cycle-check.c6
-rw-r--r--lib/cycle-check.h6
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. */