2
1

cramfs-03-cygwin_IO.patch 419 B

12345678910111213
  1. --- cramfs-1.1/cramfsck.c.orig 2006-12-22 22:16:59.328125000 +1100
  2. +++ cramfs-1.1/cramfsck.c 2006-12-19 01:02:05.531250000 +1100
  3. @@ -56,6 +56,10 @@
  4. #include "linux/cramfs_fs.h"
  5. #include <zlib.h>
  6. +#ifdef __CYGWIN__
  7. +#define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0)
  8. +#endif /* __CYGWIN__ */
  9. +
  10. #define BLKGETSIZE _IO(0x12,96) /* return device size /512 (long *arg) */
  11. /* Exit codes used by fsck-type programs */