diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-12-09 10:38:11 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-12-09 10:38:11 +0000 |
commit | 2ca8617f108072e44cf4afdfc453f8847900e4a8 (patch) | |
tree | fb9654a90a1469ef6aad8417a848958b7300565e /target/linux/generic-2.6 | |
parent | 5ced1fa6469d73455e0f91eb8da5e67018201efe (diff) | |
download | upstream-2ca8617f108072e44cf4afdfc453f8847900e4a8.tar.gz upstream-2ca8617f108072e44cf4afdfc453f8847900e4a8.tar.bz2 upstream-2ca8617f108072e44cf4afdfc453f8847900e4a8.zip |
fix uclibc compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5734 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6')
-rw-r--r-- | target/linux/generic-2.6/patches/900-headers_type_and_time.patch | 4 |
1 files changed, 1 insertions, 3 deletions
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 <linux/posix_types.h> +# include <asm/types.h> -+/* For util-linux / cryptoloop. How lame. */ -+typedef __u32 __kernel_dev_t; +#else + #ifdef __KERNEL__ |