summaryrefslogtreecommitdiff
path: root/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler.h')
-rw-r--r--compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler.h b/compiler.h
index 5e7e8c4..2c4cc9d 100644
--- a/compiler.h
+++ b/compiler.h
@@ -78,7 +78,7 @@ int vsnprintf(char *, size_t, const char *, va_list);
#endif
#ifndef __cplusplus /* C++ has false, true, bool as keywords */
-# ifdef HAVE_STDBOOL_H
+# if defined(HAVE_STDBOOL_H) && defined(HAVE_WORKING_BOOL)
# include <stdbool.h>
# else
/* This is sort of dangerous, since casts will behave different than