summaryrefslogtreecommitdiffhomepage
path: root/networking
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-09-06 14:42:27 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-09-06 14:42:27 +0000
commitee34ebe966554ad6b73d150b02cc506f9318fead (patch)
treef7300b5b244fcf604e4e5be6380b4ce67cec7b36 /networking
parent9f9c1935fa6df1431e54792d67b928bf157a6d36 (diff)
ifenslave: wants net/if.h
Diffstat (limited to 'networking')
-rw-r--r--networking/ifenslave.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/networking/ifenslave.c b/networking/ifenslave.c
index 13a32efc8..89a3f9e80 100644
--- a/networking/ifenslave.c
+++ b/networking/ifenslave.c
@@ -100,14 +100,15 @@
#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>