fd72c2
diff -urp suricata-4.1.4.orig/src/source-af-packet.c suricata-4.1.4/src/source-af-packet.c
fd72c2
--- suricata-4.1.4.orig/src/source-af-packet.c	2019-04-30 03:14:35.000000000 -0400
fd72c2
+++ suricata-4.1.4/src/source-af-packet.c	2019-08-01 16:40:32.377776940 -0400
fd72c2
@@ -109,6 +109,10 @@ struct bpf_program {
fd72c2
 #include <linux net_tstamp.h="">
fd72c2
 #endif
fd72c2
 
fd72c2
+#ifdef HAVE_SYS_SOCKET_H
d28751
+#include <linux sockios.h="">
fd72c2
+#endif
fd72c2
+
fd72c2
 #endif /* HAVE_AF_PACKET */
fd72c2
 
fd72c2
 extern int max_pending_packets;