diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-08-05 22:49:12 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-08-05 22:49:12 +0200 |
commit | a2e96ddb9519a2f40857f11501b88e465d25082d (patch) | |
tree | 10defcae7e5d0452ca35d7d43e8fac59f5038064 /target/linux/patches/2.6.35/cygwin-compat.patch | |
parent | dd48d0019b7f5442cef387b5754a276b33f8e52f (diff) | |
parent | 91024313d470314ecd49ecc0a9cdd80573b24139 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'target/linux/patches/2.6.35/cygwin-compat.patch')
-rw-r--r-- | target/linux/patches/2.6.35/cygwin-compat.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/patches/2.6.35/cygwin-compat.patch b/target/linux/patches/2.6.35/cygwin-compat.patch new file mode 100644 index 000000000..17258e565 --- /dev/null +++ b/target/linux/patches/2.6.35/cygwin-compat.patch @@ -0,0 +1,14 @@ +diff -Nur linux-2.6.30.orig/scripts/mod/file2alias.c linux-2.6.30/scripts/mod/file2alias.c +--- linux-2.6.30.orig/scripts/mod/file2alias.c 2009-06-10 05:05:27.000000000 +0200 ++++ linux-2.6.30/scripts/mod/file2alias.c 2009-06-11 09:17:10.000000000 +0200 +@@ -29,7 +29,11 @@ + + #include <ctype.h> + ++#ifdef __CYGWIN__ ++typedef __uint32_t __u32; ++#else + typedef uint32_t __u32; ++#endif + typedef uint16_t __u16; + typedef unsigned char __u8; |