*: 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
@@ -12,11 +12,7 @@
|
||||
#include "rt_names.h"
|
||||
#include "utils.h"
|
||||
|
||||
#if defined(__GLIBC__) && __GLIBC__ >=2 && __GLIBC_MINOR__ >= 1
|
||||
#include <net/ethernet.h>
|
||||
#else
|
||||
#include <linux/if_ether.h>
|
||||
#endif
|
||||
#include <netinet/if_ether.h>
|
||||
|
||||
#if !ENABLE_WERROR
|
||||
#warning de-bloat
|
||||
|
Reference in New Issue
Block a user