diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 17:39:52 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 17:39:52 +0000 |
commit | a95cd20bb8e569c5a5f43808555e90ea436b858f (patch) | |
tree | 7fb27265ca110c329d4d42336c979cab09fff04e /debian/patches/import-sockio-h.patch | |
parent | Adding upstream version 1:7.0.3. (diff) | |
download | suricata-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.patch | 16 |
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> |