1
0

patch-include_mtd_jffs2-user_h 436 B

12345678910111213141516
  1. --- mtd-utils-1.5.0.orig/include/mtd/jffs2-user.h 2012-05-07 09:19:39.000000000 +0200
  2. +++ mtd-utils-1.5.0/include/mtd/jffs2-user.h 2014-03-30 15:49:26.000000000 +0200
  3. @@ -9,8 +9,13 @@
  4. /* This file is blessed for inclusion by userspace */
  5. #include <linux/jffs2.h>
  6. +#if defined(__APPLE__)
  7. +#include "endian.h"
  8. +#include "byteswap.h"
  9. +#else
  10. #include <endian.h>
  11. #include <byteswap.h>
  12. +#endif
  13. #undef cpu_to_je16
  14. #undef cpu_to_je32