patch-mkfs_jffs2_c 367 B

123456789101112131415
  1. --- mtd-utils-1.5.0.orig/mkfs.jffs2.c 2012-05-07 09:19:39.000000000 +0200
  2. +++ mtd-utils-1.5.0/mkfs.jffs2.c 2014-03-30 15:49:26.000000000 +0200
  3. @@ -70,7 +70,12 @@
  4. #include <sys/xattr.h>
  5. #include <sys/acl.h>
  6. #endif
  7. +#if defined(__APPLE__)
  8. +#include "endian.h"
  9. +#include "byteswap.h"
  10. +#else
  11. #include <byteswap.h>
  12. +#endif
  13. #include <crc32.h>
  14. #include <inttypes.h>