diff options
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> |