projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
system-linux: Fix a segfault in netlink code
[project/netifd.git]
/
device.c
diff --git
a/device.c
b/device.c
index
7307414
..
6b333fb
100644
(file)
--- a/
device.c
+++ b/
device.c
@@
-7,6
+7,10
@@
#include <sys/socket.h>
#include <net/ethernet.h>
+#ifdef linux
+#include <netinet/ether.h>
+#endif
+
#include "netifd.h"
#include "system.h"
#include "config.h"