From 2c01985e731d97eafb4b644cd78641197093f859 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Mon, 16 Jan 2017 16:02:43 -0600 Subject: [PATCH] autoconf - look for stdbool.h --- configure.ac | 2 +- src/suricata-common.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 9129c5fe77..57e7253a9b 100644 --- a/configure.ac +++ b/configure.ac @@ -126,7 +126,7 @@ AC_CHECK_HEADERS([arpa/inet.h assert.h ctype.h errno.h fcntl.h inttypes.h]) AC_CHECK_HEADERS([getopt.h]) AC_CHECK_HEADERS([limits.h netdb.h netinet/in.h poll.h sched.h signal.h]) - AC_CHECK_HEADERS([stdarg.h stdint.h stdio.h stdlib.h string.h strings.h sys/ioctl.h]) + AC_CHECK_HEADERS([stdarg.h stdint.h stdio.h stdlib.h stdbool.h string.h strings.h sys/ioctl.h]) AC_CHECK_HEADERS([syslog.h sys/prctl.h sys/socket.h sys/stat.h sys/syscall.h]) AC_CHECK_HEADERS([sys/time.h time.h unistd.h]) AC_CHECK_HEADERS([sys/ioctl.h linux/if_ether.h linux/if_packet.h linux/filter.h]) diff --git a/src/suricata-common.h b/src/suricata-common.h index 05e0d7f39c..7fd68886d8 100644 --- a/src/suricata-common.h +++ b/src/suricata-common.h @@ -57,6 +57,10 @@ #include #endif +#if HAVE_STDBOOL_H +#include +#endif + #if HAVE_STDARG_H #include #endif