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
f42f3e5
..
28567dc
100644
(file)
--- a/
macvlan.c
+++ b/
macvlan.c
@@
-19,6
+19,10
@@
#include <errno.h>
#include <net/ethernet.h>
#include <errno.h>
#include <net/ethernet.h>
+#ifdef linux
+#include <netinet/ether.h>
+#endif
+
#include "netifd.h"
#include "device.h"
#include "interface.h"
#include "netifd.h"
#include "device.h"
#include "interface.h"