From 57177df84b91ca2cfb1e205f83353a8b7d7e2024 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 5 Aug 2010 22:39:01 +0200 Subject: update lemote to 2.6.35, enable version specific patches for kernel-header patches --- target/linux/patches/2.6.35/cygwin-compat.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 target/linux/patches/2.6.35/cygwin-compat.patch (limited to 'target/linux/patches/2.6.35/cygwin-compat.patch') 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 + ++#ifdef __CYGWIN__ ++typedef __uint32_t __u32; ++#else + typedef uint32_t __u32; ++#endif + typedef uint16_t __u16; + typedef unsigned char __u8; -- cgit v1.2.3