*: simplify Ethernet header includes

Signed-off-by: Dan Fandrich <dan@coneharvesters.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Dan Fandrich 2011-06-10 05:17:59 +02:00 committed by Denys Vlasenko
parent d488f5e8db
commit f533ec8767
10 changed files with 33 additions and 59 deletions

View file

@ -30,15 +30,14 @@
* 20001008 - Bernd Eckenfels, Patch from RH for setting mtu
* (default AF was wrong)
*/
#include <net/if.h>
#include <net/if_arp.h>
#ifndef __UCLIBC__
# include <net/ethernet.h>
#else
# include <linux/if_ether.h>
#endif
#include "libbb.h"
#include "inet_common.h"
#include <net/if.h>
#include <net/if_arp.h>
#ifdef HAVE_NET_ETHERNET_H
# include <net/ethernet.h>
#endif
#if ENABLE_FEATURE_HWIB
/* #include <linux/if_infiniband.h> */