From: Victor Julien Date: Mon, 5 Sep 2016 08:14:04 +0000 (+0200) Subject: configure: check for strings.h: used by SunOS X-Git-Tag: suricata-3.1.2~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec871233396282c61beff7e0ccdba3c222450edc;p=thirdparty%2Fsuricata.git configure: check for strings.h: used by SunOS --- diff --git a/configure.ac b/configure.ac index 8cabd35ce0..55c02f7c21 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 sys/ioctl.h]) + AC_CHECK_HEADERS([stdarg.h stdint.h stdio.h stdlib.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 da44d33520..0db433f9c4 100644 --- a/src/suricata-common.h +++ b/src/suricata-common.h @@ -89,6 +89,10 @@ #include #endif +#if HAVE_STRINGS_H +#include +#endif + #if HAVE_FCNTL_H #include #endif