projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a3cfc3
)
macvlan: turns out netinet/ether.h is needed on some linux systems
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 7 Oct 2013 13:47:43 +0000
(15:47 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 7 Oct 2013 13:47:43 +0000
(15:47 +0200)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
macvlan.c
patch
|
blob
|
history
diff --git
a/macvlan.c
b/macvlan.c
index f42f3e5a27dbfc1f329580b9d26bdc0cfd0b8c6e..28567dc876025c953645b6f87f8895b2e1913156 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"