]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Merge pull request #1116 in SNORT/snort3 from freebsd_compile_fix to master
authorMichael Altizer (mialtize) <mialtize@cisco.com>
Tue, 20 Feb 2018 21:10:38 +0000 (16:10 -0500)
committerMichael Altizer (mialtize) <mialtize@cisco.com>
Tue, 20 Feb 2018 21:10:38 +0000 (16:10 -0500)
Squashed commit of the following:

commit f61009bb723e3db85985f1042faa55105a8bbb9c
Author: shaslad <shaslad@cisco.com>
Date:   Tue Feb 20 12:10:34 2018 -0500

    Fixing compilation issue on FreeBSD with Extra

extra/src/daqs/daq_socket/daq_socket.c

index b6a429e2c658d87a2d199f2b203f038a909c4f6c..50665817b72454afdbb898e69f9e0906f05f616f 100644 (file)
 
 #include <errno.h>
 #include <netinet/in.h>
+// putting types.h here because of Bug in FreeBSD
+#include <sys/types.h>
 #include <netinet/in_systm.h>
 #include <netinet/ip.h>
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
 #include <sys/socket.h>
-#include <sys/types.h>
 #include <sys/time.h>
 #include <sys/unistd.h>