diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-12-08 22:02:44 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-12-08 22:02:44 +0000 |
commit | 5ced1fa6469d73455e0f91eb8da5e67018201efe (patch) | |
tree | b64b4f739940539a0d2585b843d253b6827a8ccd /target/linux/generic-2.6 | |
parent | 6c20cfaf1d6441a3c26abdf20cc7cd538202813f (diff) | |
download | master-187ad058-5ced1fa6469d73455e0f91eb8da5e67018201efe.tar.gz master-187ad058-5ced1fa6469d73455e0f91eb8da5e67018201efe.tar.bz2 master-187ad058-5ced1fa6469d73455e0f91eb8da5e67018201efe.zip |
more compile fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5730 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 | 13 | ||||
-rw-r--r-- | target/linux/generic-2.6/patches/901-asm_bitops_include.patch | 10 |
2 files changed, 10 insertions, 13 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 09118bc0e0..6dd56f6ca0 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 @@ -49,16 +49,3 @@ Update 2005-05-05 gotom, add __extension__ for linux/types.h. /* * Below are truly Linux-specific types that should never collide with * any application/library that wants linux/types.h. -@@ -167,9 +179,9 @@ - typedef __u16 __bitwise __be16; - typedef __u32 __bitwise __le32; - typedef __u32 __bitwise __be32; --#if defined(__GNUC__) && !defined(__STRICT_ANSI__) --typedef __u64 __bitwise __le64; --typedef __u64 __bitwise __be64; -+#if defined(__GNUC__) -+__extension__ typedef __u64 __bitwise __le64; -+__extension__ typedef __u64 __bitwise __be64; - #endif - - #ifdef __KERNEL__ diff --git a/target/linux/generic-2.6/patches/901-asm_bitops_include.patch b/target/linux/generic-2.6/patches/901-asm_bitops_include.patch new file mode 100644 index 0000000000..83da7b4acb --- /dev/null +++ b/target/linux/generic-2.6/patches/901-asm_bitops_include.patch @@ -0,0 +1,10 @@ +--- linux.old/include/asm-mips/bitops.h 2006-12-08 17:09:09.035003456 +0100 ++++ linux.dev/include/asm-mips/bitops.h 2006-12-08 17:09:25.539494392 +0100 +@@ -12,6 +12,7 @@ + #include <linux/config.h> + #include <linux/compiler.h> + #include <linux/types.h> ++#include <asm/war.h> + #include <asm/bug.h> + #include <asm/byteorder.h> /* sigh ... */ + #include <asm/cpu-features.h> |