summaryrefslogtreecommitdiff
path: root/networking/ifplugd.c
diff options
context:
space:
mode:
authorDan Fandrich2011-06-10 05:17:59 +0200
committerDenys Vlasenko2011-06-10 05:17:59 +0200
commitf533ec876716415ed0e6ba28d13dfb6263068e82 (patch)
tree30b5b8ddcad3d2673d76110b8a792a5cd1b3b067 /networking/ifplugd.c
parentd488f5e8dbdcd1f5f0ebb2ee9c1f2fb4a5374290 (diff)
downloadbusybox-f533ec876716415ed0e6ba28d13dfb6263068e82.zip
busybox-f533ec876716415ed0e6ba28d13dfb6263068e82.tar.gz
*: simplify Ethernet header includes
Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/ifplugd.c')
-rw-r--r--networking/ifplugd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/networking/ifplugd.c b/networking/ifplugd.c
index 57d04e6..d8358cd 100644
--- a/networking/ifplugd.c
+++ b/networking/ifplugd.c
@@ -37,7 +37,9 @@
#include <linux/if.h>
#include <linux/mii.h>
#include <linux/ethtool.h>
-#include <net/ethernet.h>
+#ifdef HAVE_NET_ETHERNET_H
+# include <net/ethernet.h>
+#endif
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
#include <linux/sockios.h>