*: 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:
committed by
Denys Vlasenko
parent
d488f5e8db
commit
f533ec8767
@@ -25,14 +25,8 @@
|
||||
#include "dhcpd.h"
|
||||
#include "dhcpc.h"
|
||||
|
||||
#include <asm/types.h>
|
||||
#if (defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) || defined(_NEWLIB_VERSION)
|
||||
# include <netpacket/packet.h>
|
||||
# include <net/ethernet.h>
|
||||
#else
|
||||
# include <linux/if_packet.h>
|
||||
# include <linux/if_ether.h>
|
||||
#endif
|
||||
#include <netinet/if_ether.h>
|
||||
#include <netpacket/packet.h>
|
||||
#include <linux/filter.h>
|
||||
|
||||
/* struct client_config_t client_config is in bb_common_bufsiz1 */
|
||||
|
Reference in New Issue
Block a user