busybox-1.0.1-rc1.patch
[oweals/busybox.git] / busybox / networking / ifconfig.c
index 4e3df2982cfa7e57a8a943de4b5b1d16cb68c913..fc7798f2d04ac19da5e7277870cf33416609ed0f 100644 (file)
@@ -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;
 };