aboutsummaryrefslogtreecommitdiff
path: root/networking/ifplugd.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2015-10-07 02:02:56 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2015-10-07 02:02:56 +0200
commit4271698fea42a51e48a5d761e8c00a5fd57661de (patch)
tree62c8cf7cb8a6100a2f8e4118f7c25dbdee34b254 /networking/ifplugd.c
parent78fb6ea63a1421be106baf87f8155e701da9a2dc (diff)
downloadbusybox-4271698fea42a51e48a5d761e8c00a5fd57661de.tar.gz
ifplugd: discovered why it needed net/ethernet.h: just for ETH_ALEN
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/ifplugd.c')
-rw-r--r--networking/ifplugd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/networking/ifplugd.c b/networking/ifplugd.c
index 1e6c562e0..f0defb5c8 100644
--- a/networking/ifplugd.c
+++ b/networking/ifplugd.c
@@ -58,6 +58,10 @@
#define __user
#include <linux/wireless.h>
+#ifndef ETH_ALEN
+# define ETH_ALEN 6
+#endif
+
/*
From initial port to busybox, removed most of the redundancy by
converting implementation of a polymorphic interface to the strict