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%7.0.3-1+rpi1^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d66d396f97a2e9bd3b4baca08ac531f83ed7d3d3;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 6112cb9d..28884050 100644 --- a/src/source-af-packet.c +++ b/src/source-af-packet.c @@ -72,6 +72,10 @@ #include #endif +#if HAVE_LINUX_SOCKIOS_H +#include +#endif + #ifdef HAVE_PACKET_EBPF #include #include