[BusyBox] include/inet_common.h and networking/ifconfig.c: portability [PATCH]

Rob Landley rob at landley.net
Tue May 3 21:27:38 UTC 2005


On Tuesday 03 May 2005 03:14 pm, Shaun Jackman wrote:
> Wrap sockaddr_in6 in a ifdef CONFIG_FEATURE_IPV6.
> Include sys/types.h instead of asm/types.h.
> Include netinet/if_ether.h instead of linux/if_ether.h
> The ioctl request argument is an int, not an unsigned short.

Looks sane, I suppose.  (I don't use ipv6, I'll take your word for the ioctl 
request argument...)

Your patch didn't want to apply because A) line 77 was wordwrapped, B) line 99 
starts with --- and that confuses the heck out of it, apparently...  However, 
I fixed that up by hand.

Applied.

Rob



More information about the busybox mailing list