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.
remotes/origin/master-1.2.x
Eric Leblond 14 years ago committed by Victor Julien
parent bf24272c28
commit 0256ca2422

@ -34,6 +34,8 @@
#define PACKET_FANOUT_CPU 2
#define PACKET_FANOUT_FLAG_DEFRAG 0x8000
#else /* HAVE_PACKET_FANOUT */
#include <linux/if_packet.h>
#endif /* HAVE_PACKET_FANOUT */
#define AFP_FILE_MAX_PKTS 256

Loading…
Cancel
Save