ifenslave: fix missing close paren
[oweals/busybox.git] / networking / ifconfig.c
index 220b02126a6d02774c0fc67941b558057ead5c47..b6604f5d15a0e4ff2bf1677f57208b187466afb7 100644 (file)
@@ -30,7 +30,6 @@
 //usage:       IF_FEATURE_IFCONFIG_STATUS("[-a]") " interface [address]"
 //usage:#define ifconfig_full_usage "\n\n"
 //usage:       "Configure a network interface\n"
-//usage:     "\nOptions:"
 //usage:     "\n"
 //usage:       IF_FEATURE_IPV6(
 //usage:       "       [add ADDRESS[/PREFIXLEN]]\n")
 //usage:       "       [mem_start NN] [io_addr NN] [irq NN]\n")
 //usage:       "       [up|down] ..."
 
+#include "libbb.h"
+#include "inet_common.h"
 #include <net/if.h>
 #include <net/if_arp.h>
 #include <netinet/in.h>
-#if defined(__GLIBC__) && __GLIBC__ >=2 && __GLIBC_MINOR__ >= 1
-#include <netpacket/packet.h>
-#include <net/ethernet.h>
-#else
-#include <sys/types.h>
-#include <netinet/if_ether.h>
+#ifdef HAVE_NET_ETHERNET_H
+# include <net/ethernet.h>
 #endif
-#include "libbb.h"
-#include "inet_common.h"
 
 #if ENABLE_FEATURE_IFCONFIG_SLIP
 # include <net/if_slip.h>