ifenslave: wants net/if.h
authorDenis Vlasenko <vda.linux@googlemail.com>
Sat, 6 Sep 2008 14:42:27 +0000 (14:42 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sat, 6 Sep 2008 14:42:27 +0000 (14:42 -0000)
networking/ifenslave.c

index 13a32efc8d5d3e339fe4664d152ea9007bc214e3..89a3f9e80dc6baec48e8dbf24f17f8c47cbf796b 100644 (file)
 
 #include "libbb.h"
 
+#include <net/if.h>
 #include <net/if_arp.h>
 #include <linux/if_bonding.h>
 #include <linux/sockios.h>
 
-typedef unsigned long long u64; /* hack, so we may include kernel's ethtool.h */
-typedef uint32_t u32;           /* ditto */
-typedef uint16_t u16;           /* ditto */
-typedef uint8_t u8;             /* ditto */
+typedef uint64_t u64; /* hack, so we may include kernel's ethtool.h */
+typedef uint32_t u32; /* ditto */
+typedef uint16_t u16; /* ditto */
+typedef uint8_t u8;   /* ditto */
 #include <linux/ethtool.h>