From: Eric Leblond Date: Wed, 17 Jul 2019 10:35:12 +0000 (+0200) Subject: af-packet: fix build on recent Linux kernels X-Git-Tag: suricata-5.0.0-rc1~178 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b37554e0bc3cf383e6547c5c6a69c6f6849c09e3;p=thirdparty%2Fsuricata.git af-packet: fix build on recent Linux kernels --- diff --git a/src/source-af-packet.c b/src/source-af-packet.c index 2c65ccbcf5..e117d36e5c 100644 --- a/src/source-af-packet.c +++ b/src/source-af-packet.c @@ -65,6 +65,10 @@ #include #endif +#if HAVE_LINUX_SOCKIOS_H +#include +#endif + #ifdef HAVE_PACKET_EBPF #include "util-ebpf.h" #include