aboutsummaryrefslogtreecommitdiff
path: root/busybox/networking/ifconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'busybox/networking/ifconfig.c')
-rw-r--r--busybox/networking/ifconfig.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/busybox/networking/ifconfig.c b/busybox/networking/ifconfig.c
index 4e3df2982..fc7798f2d 100644
--- a/busybox/networking/ifconfig.c
+++ b/busybox/networking/ifconfig.c
@@ -46,8 +46,8 @@
46#include <netpacket/packet.h> 46#include <netpacket/packet.h>
47#include <net/ethernet.h> 47#include <net/ethernet.h>
48#else 48#else
49#include <asm/types.h> 49#include <sys/types.h>
50#include <linux/if_ether.h> 50#include <netinet/if_ether.h>
51#endif 51#endif
52#include "inet_common.h" 52#include "inet_common.h"
53#include "busybox.h" 53#include "busybox.h"
@@ -177,7 +177,7 @@ struct in6_ifreq {
177 177
178struct arg1opt { 178struct arg1opt {
179 const char *name; 179 const char *name;
180 unsigned short selector; 180 int selector;
181 unsigned short ifr_offset; 181 unsigned short ifr_offset;
182}; 182};
183 183