summaryrefslogtreecommitdiff
path: root/target/linux/patches/2.6.33/cygwin-compat.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-02-25 21:27:57 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-02-25 21:27:57 +0100
commit4e6e1d325155eff4c61b7590c66feae5d0fe603c (patch)
tree4fe4494d5949648040f7eb6671212f1daabc729c /target/linux/patches/2.6.33/cygwin-compat.patch
parent92de2ee1c2848fe50b9908bb679e0c9edcd4a867 (diff)
update qemu-x86 to 2.6.33
- use e1000 driver by default - no need for dummy qemu.img, phil is right.
Diffstat (limited to 'target/linux/patches/2.6.33/cygwin-compat.patch')
-rw-r--r--target/linux/patches/2.6.33/cygwin-compat.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/patches/2.6.33/cygwin-compat.patch b/target/linux/patches/2.6.33/cygwin-compat.patch
new file mode 100644
index 000000000..17258e565
--- /dev/null
+++ b/target/linux/patches/2.6.33/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;