From: Eric Leblond Date: Wed, 17 Jul 2019 10:35:12 +0000 (+0200) Subject: [PATCH] af-packet: fix build on recent Linux kernels X-Git-Tag: archive/raspbian/1%6.0.5-3+rpi1^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=35c60761cae1369a14238be5313c7a53117ec832;p=suricata.git [PATCH] af-packet: fix build on recent Linux kernels Gbp-Pq: Name import-sockio-h.patch --- diff --git a/src/source-af-packet.c b/src/source-af-packet.c index f4f120d0..874a6a5d 100644 --- a/src/source-af-packet.c +++ b/src/source-af-packet.c @@ -68,6 +68,10 @@ #include #endif +#if HAVE_LINUX_SOCKIOS_H +#include +#endif + #ifdef HAVE_PACKET_EBPF #include "util-ebpf.h" #include