Hello list, this patch fixes a compilation problem with our ppc kernel 2.4.36:
CC networking/udhcp/clientsocket.o In file included from networking/udhcp/clientsocket.c:33: /home/harald/dbox/head/cdk/lib/gcc/powerpc-tuxbox-linux-gnu/3.4.6/../../../../powerpc-tuxbox-linux-gnu/include/linux/filter.h:21: error: syntax error before "__u16" /home/harald/dbox/head/cdk/lib/gcc/powerpc-tuxbox-linux-gnu/3.4.6/../../../../powerpc-tuxbox-linux-gnu/include/linux/filter.h:23: error: syntax error before "jf" /home/harald/dbox/head/cdk/lib/gcc/powerpc-tuxbox-linux-gnu/3.4.6/../../../../powerpc-tuxbox-linux-gnu/include/linux/filter.h:24: error: syntax error before "k" Regards Harald --- busybox-1.10.0-orig/networking/udhcp/clientsocket.c 2008-03-22 02:31:40.000000000 +0100 +++ busybox-1.10.0/networking/udhcp/clientsocket.c 2008-03-24 22:36:19.000000000 +0100 @@ -22,11 +22,11 @@ */ #include <features.h> +#include <asm/types.h> #if (defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) || defined(_NEWLIB_VERSION) #include <netpacket/packet.h> #include <net/ethernet.h> #else -#include <asm/types.h> #include <linux/if_packet.h> #include <linux/if_ether.h> #endif _______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
