1
0

cygwin-compat.patch 440 B

1234567891011121314
  1. diff -Nur linux-2.6.30.orig/scripts/mod/file2alias.c linux-2.6.30/scripts/mod/file2alias.c
  2. --- linux-2.6.30.orig/scripts/mod/file2alias.c 2009-06-10 05:05:27.000000000 +0200
  3. +++ linux-2.6.30/scripts/mod/file2alias.c 2009-06-11 09:17:10.000000000 +0200
  4. @@ -29,7 +29,11 @@
  5. #include <ctype.h>
  6. +#ifdef __CYGWIN__
  7. +typedef __uint32_t __u32;
  8. +#else
  9. typedef uint32_t __u32;
  10. +#endif
  11. typedef uint16_t __u16;
  12. typedef unsigned char __u8;