summaryrefslogtreecommitdiffstats
path: root/lib/zebra.h
diff options
context:
space:
mode:
authorPaul Jakma <paul@jakma.org>2015-09-15 16:15:27 +0100
committerPaul Jakma <paul@quagga.net>2015-09-24 15:26:42 +0100
commite8441a81f6c9f73bc8a25669003abffb40066703 (patch)
tree4d15512b9a10d863fa831d9b611f1d9092ee74ae /lib/zebra.h
parent7ef4221c3f85121edb68a6a54ebd6bb167408e47 (diff)
downloadquagga-e8441a81f6c9f73bc8a25669003abffb40066703.tar.bz2
quagga-e8441a81f6c9f73bc8a25669003abffb40066703.tar.xz
build/lib: Check for and include stdbool.h by default
* stdbool.h should be widely supported by now, and the 'bool' type makes more semantic sense than an integer type for boolean values.
Diffstat (limited to 'lib/zebra.h')
-rw-r--r--lib/zebra.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/zebra.h b/lib/zebra.h
index 85864377..1ee5107e 100644
--- a/lib/zebra.h
+++ b/lib/zebra.h
@@ -92,6 +92,9 @@ typedef int socklen_t;
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#endif /* HAVE_INTTYPES_H */
+#ifdef HAVE_STDBOOL_H
+#include <stdbool.h>
+#endif
/* machine dependent includes */
#ifdef SUNOS_5