summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-10-04 16:08:01 +0200
committerFelix Fietkau <nbd@openwrt.org>2013-10-04 16:08:01 +0200
commit7a3cfc37189aab8991cfaa7986f221d61127599d (patch)
tree8ee33a679d3b5f3f7f93f36f350e55dac7ba5222
parent5dd87fd8ad3a42c71d90a8fecc893af973e552bf (diff)
macvlan: include net/ethernet.h instead of netinet/ether.h (more portable)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
-rw-r--r--macvlan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macvlan.c b/macvlan.c
index bf81340..f42f3e5 100644
--- a/macvlan.c
+++ b/macvlan.c
@@ -17,7 +17,7 @@
#include <stdio.h>
#include <assert.h>
#include <errno.h>
-#include <netinet/ether.h>
+#include <net/ethernet.h>
#include "netifd.h"
#include "device.h"