From 63a1386455343e07e5544ce5afbc7e5839619f46 Mon Sep 17 00:00:00 2001 From: Paul Jakma Date: Tue, 15 Sep 2015 16:15:27 +0100 Subject: 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. (cherry picked from commit e8441a81f6c9f73bc8a25669003abffb40066703) --- lib/zebra.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') diff --git a/lib/zebra.h b/lib/zebra.h index aa4974b01..f45e5aaca 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -92,6 +92,9 @@ typedef int socklen_t; #ifdef HAVE_INTTYPES_H #include #endif /* HAVE_INTTYPES_H */ +#ifdef HAVE_STDBOOL_H +#include +#endif /* machine dependent includes */ #ifdef SUNOS_5 -- cgit v1.2.3