From: Eric Leblond Date: Fri, 27 Apr 2012 14:01:58 +0000 (+0200) Subject: Fix OpenBSD compilation. X-Git-Tag: suricata-1.3beta2~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6784ec536d000349911660e6c9d51cc86fbd942b;p=thirdparty%2Fsuricata.git Fix OpenBSD compilation. --- diff --git a/configure.in b/configure.in index 6667abc964..2c138eb226 100644 --- a/configure.in +++ b/configure.in @@ -92,6 +92,7 @@ AC_INIT(configure.in) AC_CHECK_HEADERS([arpa/inet.h inttypes.h limits.h netdb.h poll.h signal.h stdint.h stdlib.h string.h syslog.h sys/ioctl.h sys/prctl.h sys/socket.h sys/syscall.h netinet/in.h sys/time.h unistd.h windows.h winsock2.h ws2tcpip.h]) AC_CHECK_HEADERS([sys/socket.h net/if.h sys/mman.h], [], [], [[#ifdef HAVE_SYS_SOCKET_H +#include #include #endif ]]) diff --git a/src/util-logopenfile.c b/src/util-logopenfile.c index 0bd96f1e64..0eae126aa2 100644 --- a/src/util-logopenfile.c +++ b/src/util-logopenfile.c @@ -23,6 +23,7 @@ * * File-like output for logging: regular files and sockets. */ +#include #include #include