projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add a helper to convert blobmsg types to luci validate rules
[project/netifd.git]
/
macvlan.c
diff --git
a/macvlan.c
b/macvlan.c
index
bf81340
..
28567dc
100644
(file)
--- a/
macvlan.c
+++ b/
macvlan.c
@@
-17,7
+17,11
@@
#include <stdio.h>
#include <assert.h>
#include <errno.h>
+#include <net/ethernet.h>
+
+#ifdef linux
#include <netinet/ether.h>
+#endif
#include "netifd.h"
#include "device.h"