aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/setup_once.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/setup_once.h b/lib/setup_once.h
index 4137f374c..eb14e5886 100644
--- a/lib/setup_once.h
+++ b/lib/setup_once.h
@@ -79,7 +79,7 @@
#include <fcntl.h>
#endif
-#ifdef HAVE_STDBOOL_H
+#if defined(HAVE_STDBOOL_H) && defined(HAVE_BOOL_T)
#include <stdbool.h>
#endif