]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
autoconf - look for stdbool.h
authorJason Ish <ish@unx.ca>
Mon, 16 Jan 2017 22:02:43 +0000 (16:02 -0600)
committerVictor Julien <victor@inliniac.net>
Fri, 17 Feb 2017 12:16:22 +0000 (13:16 +0100)
configure.ac
src/suricata-common.h

index 9129c5fe77ed876ca3cd1c66718bd01007f0c2df..57e7253a9baf7eb600861e837557e4030fd45b78 100644 (file)
     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])
index 05e0d7f39c0b9506f660b35e2bb5eb238f1ce6d4..7fd68886d848da13bed89d5b3259659dc3b3c469 100644 (file)
 #include <stdint.h>
 #endif
 
+#if HAVE_STDBOOL_H
+#include <stdbool.h>
+#endif
+
 #if HAVE_STDARG_H
 #include <stdarg.h>
 #endif