X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=target%2Flinux%2Fgeneric-2.6%2Fpatches%2F900-headers_type_and_time.patch;h=d72e809ef24dba1682bf6d3c51a9ebd5fcde157a;hb=541ff27cfb26939cf1b98b73fa5aeea0d8432082;hp=6dd56f6ca0ba0df8946364ba03e4cb5b32f6b4c6;hpb=dcf6bd1f3af51f80f319e45aaacbf009d51ccf1b;p=openwrt-10.03%2F.git 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 6dd56f6ca..d72e809ef 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 @@ -1,8 +1,6 @@ -Taken from Debian linux-kernel-headers package -Update 2005-05-05 gotom, add __extension__ for linux/types.h. - ---- linux.old/include/linux/time.h 2006-06-05 13:18:23.000000000 -0400 -+++ linux.dev/include/linux/time.h 2006-06-10 00:16:51.962628154 -0400 +diff -urN linux-2.6.21.1.old/include/linux/time.h linux-2.6.21.1.dev/include/linux/time.h +--- linux-2.6.21.1.old/include/linux/time.h 2007-04-27 23:49:26.000000000 +0200 ++++ linux-2.6.21.1.dev/include/linux/time.h 2007-05-26 21:23:19.859617680 +0200 @@ -1,6 +1,10 @@ #ifndef _LINUX_TIME_H #define _LINUX_TIME_H @@ -14,16 +12,17 @@ Update 2005-05-05 gotom, add __extension__ for linux/types.h. #include #ifdef __KERNEL__ -@@ -196,4 +200,6 @@ +@@ -224,4 +228,6 @@ */ #define TIMER_ABSTIME 0x01 +#endif /* __KERNEL__ DEBIAN */ + #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 @@ +diff -urN linux-2.6.21.1.old/include/linux/types.h linux-2.6.21.1.dev/include/linux/types.h +--- linux-2.6.21.1.old/include/linux/types.h 2007-04-27 23:49:26.000000000 +0200 ++++ linux-2.6.21.1.dev/include/linux/types.h 2007-05-26 21:23:19.859617680 +0200 +@@ -1,6 +1,14 @@ #ifndef _LINUX_TYPES_H #define _LINUX_TYPES_H @@ -33,14 +32,12 @@ 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__ - #include -@@ -147,6 +157,8 @@ + #define BITS_TO_LONGS(bits) \ +@@ -162,6 +170,8 @@ #endif /* __KERNEL_STRICT_NAMES */