From 0256ca242209edbea23948df52cef4db7fb0fc2e Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Mon, 28 Nov 2011 18:01:14 +0100 Subject: [PATCH] af-packet: fix compilation on new systems. Inclusion of if_packet.h was missing when the support of new options related to packet fanout is present in the file. --- src/source-af-packet.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/source-af-packet.h b/src/source-af-packet.h index b43396dd83..93d3167509 100644 --- a/src/source-af-packet.h +++ b/src/source-af-packet.h @@ -34,6 +34,8 @@ #define PACKET_FANOUT_CPU 2 #define PACKET_FANOUT_FLAG_DEFRAG 0x8000 +#else /* HAVE_PACKET_FANOUT */ +#include #endif /* HAVE_PACKET_FANOUT */ #define AFP_FILE_MAX_PKTS 256