ruby: bump version to 2.4.1
[buildroot-gz.git] / package / cramfs / 0002-cygwin_IO.patch
blob8be333f01b06c83bf958333cb7ce6a6dfd2941af
1 Index: cramfs-1.1/cramfsck.c
2 ===================================================================
3 --- cramfs-1.1.orig/cramfsck.c 2011-09-09 15:10:06.000000000 +0200
4 +++ cramfs-1.1/cramfsck.c 2011-09-09 15:13:49.950897747 +0200
5 @@ -57,6 +57,10 @@
6 #include <byteswap.h>
7 #include <zlib.h>
9 +#ifdef __CYGWIN__
10 +#define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0)
11 +#endif /* __CYGWIN__ */
13 /* Exit codes used by fsck-type programs */
14 #define FSCK_OK 0 /* No errors */
15 #define FSCK_NONDESTRUCT 1 /* File system errors corrected */