From: Jason Ish Date: Mon, 16 Jan 2017 22:02:43 +0000 (-0600) Subject: autoconf - look for stdbool.h X-Git-Tag: suricata-4.0.0-beta1~296 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c01985e731d97eafb4b644cd78641197093f859;p=thirdparty%2Fsuricata.git autoconf - look for stdbool.h --- 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