From: Guy Harris Date: Thu, 6 Nov 2014 06:16:21 +0000 (-0800) Subject: needs , and it's not automatically included. X-Git-Tag: libpcap-1.7.0-bp~1^2~7 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/5b18b4b4ff68ab68253aa46e5c97928e6e2eeb1a?ds=inline needs , and it's not automatically included. This fixes build errors on, for example, a Red Hat system with a 2.6.9 kernel. --- diff --git a/bpf/net/bpf_filter.c b/bpf/net/bpf_filter.c index 47e91ced..ffe04ce3 100644 --- a/bpf/net/bpf_filter.c +++ b/bpf/net/bpf_filter.c @@ -196,6 +196,7 @@ m_xhalf(m, k, err) #endif #ifdef __linux__ +#include #include #include #endif