diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-02-17 00:25:00 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-02-17 00:25:00 +0100 |
commit | 2e96c40f5529285d113f15275ac2e7214aebd3fe (patch) | |
tree | 903b15a9e4b3c2078d81fd3c32a6024d82917690 /target/linux/patches/2.6.32.2/cygwin-compat.patch | |
parent | 0d0d6116a6a733a35dd2e8651988bf5ae2b172b6 (diff) |
boot via nfs works and I get a shell
Diffstat (limited to 'target/linux/patches/2.6.32.2/cygwin-compat.patch')
-rw-r--r-- | target/linux/patches/2.6.32.2/cygwin-compat.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/patches/2.6.32.2/cygwin-compat.patch b/target/linux/patches/2.6.32.2/cygwin-compat.patch new file mode 100644 index 000000000..17258e565 --- /dev/null +++ b/target/linux/patches/2.6.32.2/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; |