summaryrefslogtreecommitdiff
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 4e3df29..fc7798f 100644
--- a/busybox/networking/ifconfig.c
+++ b/busybox/networking/ifconfig.c
@@ -46,8 +46,8 @@
#include <netpacket/packet.h>
#include <net/ethernet.h>
#else
-#include <asm/types.h>
-#include <linux/if_ether.h>
+#include <sys/types.h>
+#include <netinet/if_ether.h>
#endif
#include "inet_common.h"
#include "busybox.h"
@@ -177,7 +177,7 @@ struct in6_ifreq {
struct arg1opt {
const char *name;
- unsigned short selector;
+ int selector;
unsigned short ifr_offset;
};