summaryrefslogtreecommitdiff
path: root/net-analyzer/suricata/files/suricata-4.0.4_sockios.patch
blob: a341d9c159f15ce764ef83a5f6d509e0f2b0aee2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- src/source-af-packet.c.orig	2019-09-08 20:50:06.416466432 +0200
+++ src/source-af-packet.c	2019-09-08 20:53:26.144471385 +0200
@@ -70,6 +70,10 @@
 
 #ifdef HAVE_AF_PACKET
 
+#ifdef HAVE_LINUX_SOCKIOS_H
+#include <linux/sockios.h>
+#endif
+
 #if HAVE_SYS_IOCTL_H
 #include <sys/ioctl.h>
 #endif