On Friday 30 January 2009 07:24:11 Wander Winkelhorst wrote:
> +/* ioctl's got renamed in 2.6.7 */
> +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,7)
> +#define SIOCBRADDBR BRCTL_ADD_BRIDGE
> +#define SIOCBRDELBR BRCTL_DEL_BRIDGE
> +#define SIOCBRADDIF BRCTL_ADD_IF
> +#define SIOCBRDELIF BRCTL_DEL_IF
> +#endif
> +

I note that include/platform.h was introduced to hide all these sorts of 
things in one place.

(Questionable whether something this specific belongs there, but we've got 
fixes for linux/loop.h in there which isn't used much outside of the losetup 
code, so I thought I'd mention it...)

Rob
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to