summaryrefslogtreecommitdiffhomepage
path: root/device.c
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2011-09-22 20:10:44 +0000
committerSteven Barth <steven@midlink.org>2011-09-22 20:10:44 +0000
commitbc5d577ff9a9f87cd4f898d2b073332291087b84 (patch)
tree0e2fc654319cb5a73ff7053a762f2f38726e265d /device.c
parentd43eb8e1fd680fc14c398150665cf3a954fe5510 (diff)
fix compilation with GCC 4.6 on Linux
Diffstat (limited to 'device.c')
-rw-r--r--device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/device.c b/device.c
index 7307414..8bc8b53 100644
--- a/device.c
+++ b/device.c
@@ -6,6 +6,7 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <net/ethernet.h>
+#include <netinet/ether.h>
#include "netifd.h"
#include "system.h"