ifenslave: on uclibc at least, net/if.h + linux/if_bonding.h dont coexist
This commit is contained in:
parent
ee34ebe966
commit
ee9deb863e
@ -100,11 +100,15 @@
|
||||
|
||||
#include "libbb.h"
|
||||
|
||||
#include <net/if.h>
|
||||
/* #include <net/if.h> - no. linux/if_bonding.h pulls in linux/if.h */
|
||||
#include <net/if_arp.h>
|
||||
#include <linux/if_bonding.h>
|
||||
#include <linux/sockios.h>
|
||||
|
||||
#ifndef IFNAMSIZ
|
||||
#define IFNAMSIZ 16
|
||||
#endif
|
||||
|
||||
typedef uint64_t u64; /* hack, so we may include kernel's ethtool.h */
|
||||
typedef uint32_t u32; /* ditto */
|
||||
typedef uint16_t u16; /* ditto */
|
||||
|
Loading…
Reference in New Issue
Block a user