projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
macvlan: turns out netinet/ether.h is needed on some linux systems
[project/netifd.git]
/
macvlan.c
diff --git
a/macvlan.c
b/macvlan.c
index
f42f3e5
..
28567dc
100644
(file)
--- a/
macvlan.c
+++ b/
macvlan.c
@@
-19,6
+19,10
@@
#include <errno.h>
#include <net/ethernet.h>
+#ifdef linux
+#include <netinet/ether.h>
+#endif
+
#include "netifd.h"
#include "device.h"
#include "interface.h"