ifplugd: discovered why it needed net/ethernet.h: just for ETH_ALEN
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 7 Oct 2015 00:02:56 +0000 (02:02 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 7 Oct 2015 00:02:56 +0000 (02:02 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/ifplugd.c

index 1e6c562e0afd632297b8a537d2516d01c04c1749..f0defb5c83e5f5f0c6a758fa1bb51b667b3b012f 100644 (file)
 #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