projects
/
cascardo
/
ovs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7e5467
)
netdev-bsd: Include net/bpf.h.
author
Dan McGregor
<dan.mcgregor@usask.ca>
Tue, 19 May 2015 19:24:26 +0000
(12:24 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 21 May 2015 01:45:33 +0000
(18:45 -0700)
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>
lib/netdev-bsd.c
patch
|
blob
|
history
diff --git
a/lib/netdev-bsd.c
b/lib/netdev-bsd.c
index
b377baf
..
99ab40f
100644
(file)
--- a/
lib/netdev-bsd.c
+++ b/
lib/netdev-bsd.c
@@
-26,6
+26,7
@@
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <sys/sockio.h>
+#include <net/bpf.h>
#include <ifaddrs.h>
#include <pcap/pcap.h>
#include <net/if.h>