From: Dan McGregor Date: Tue, 19 May 2015 19:24:26 +0000 (-0700) Subject: netdev-bsd: Include net/bpf.h. X-Git-Tag: v2.3.2~12 X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fovs.git;a=commitdiff_plain;h=41eb3e6e557370dfc01fa763962428a62e583466 netdev-bsd: Include net/bpf.h. The documentation says it is required to use bpf ioctls on both NetBSD and FreeBSD. It causes a compile time failure on FreeBSD 10. Signed-off-by: Dan McGregor Signed-off-by: Ben Pfaff --- diff --git a/lib/netdev-bsd.c b/lib/netdev-bsd.c index b377baf7e..99ab40f01 100644 --- a/lib/netdev-bsd.c +++ b/lib/netdev-bsd.c @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include