summaryrefslogtreecommitdiffstats
path: root/debian/patches/import-sockio-h.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 17:39:52 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 17:39:52 +0000
commita95cd20bb8e569c5a5f43808555e90ea436b858f (patch)
tree7fb27265ca110c329d4d42336c979cab09fff04e /debian/patches/import-sockio-h.patch
parentAdding upstream version 1:7.0.3. (diff)
downloadsuricata-a95cd20bb8e569c5a5f43808555e90ea436b858f.tar.xz
suricata-a95cd20bb8e569c5a5f43808555e90ea436b858f.zip
Adding debian version 1:7.0.3-1.debian/1%7.0.3-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/import-sockio-h.patch')
-rw-r--r--debian/patches/import-sockio-h.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/import-sockio-h.patch b/debian/patches/import-sockio-h.patch
new file mode 100644
index 0000000..83d8743
--- /dev/null
+++ b/debian/patches/import-sockio-h.patch
@@ -0,0 +1,16 @@
+From: Eric Leblond <eric@regit.org>
+Date: Wed, 17 Jul 2019 12:35:12 +0200
+Subject: [PATCH] af-packet: fix build on recent Linux kernels
+--- a/src/source-af-packet.c
++++ b/src/source-af-packet.c
+@@ -72,6 +72,10 @@
+ #include <linux/sockios.h>
+ #endif
+
++#if HAVE_LINUX_SOCKIOS_H
++#include <linux/sockios.h>
++#endif
++
+ #ifdef HAVE_PACKET_EBPF
+ #include <bpf/libbpf.h>
+ #include <bpf/bpf.h>