mirror of
https://github.com/openvswitch/ovs
synced 2025-09-02 07:15:17 +00:00
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 <dan.mcgregor@usask.ca> Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -26,6 +26,7 @@
|
|||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <sys/sockio.h>
|
#include <sys/sockio.h>
|
||||||
|
#include <net/bpf.h>
|
||||||
#include <ifaddrs.h>
|
#include <ifaddrs.h>
|
||||||
#include <pcap/pcap.h>
|
#include <pcap/pcap.h>
|
||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
|
Reference in New Issue
Block a user