From: Felix Fietkau Date: Sat, 9 Dec 2006 10:38:11 +0000 (+0000) Subject: fix uclibc compile X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=29a980a7d26151ecdcdf7815d6035633ec2af1fb;hp=021d1d43cf7d18fa3deeb9d52d09471993e67f99 fix uclibc compile SVN-Revision: 5734 --- diff --git a/target/linux/generic-2.6/patches/900-headers_type_and_time.patch b/target/linux/generic-2.6/patches/900-headers_type_and_time.patch index 6dd56f6ca0..56a5ef3230 100644 --- a/target/linux/generic-2.6/patches/900-headers_type_and_time.patch +++ b/target/linux/generic-2.6/patches/900-headers_type_and_time.patch @@ -23,7 +23,7 @@ Update 2005-05-05 gotom, add __extension__ for linux/types.h. #endif --- linux.old/include/linux/types.h 2006-06-05 13:18:23.000000000 -0400 +++ linux.dev/include/linux/types.h 2006-06-10 00:16:51.962628154 -0400 -@@ -1,6 +1,16 @@ +@@ -1,6 +1,14 @@ #ifndef _LINUX_TYPES_H #define _LINUX_TYPES_H @@ -33,8 +33,6 @@ Update 2005-05-05 gotom, add __extension__ for linux/types.h. +/* For other kernel headers. */ +# include +# include -+/* For util-linux / cryptoloop. How lame. */ -+typedef __u32 __kernel_dev_t; +#else + #ifdef __KERNEL__