spacepaste

  1.  
  2. diff -Naur eudev-1.10/src/mtd_probe/mtd_probe.h eudev-1.10new/src/mtd_probe/mtd_probe.h
  3. --- eudev-1.10/src/mtd_probe/mtd_probe.h 2013-08-26 17:36:38.000000000 -0500
  4. +++ eudev-1.10new/src/mtd_probe/mtd_probe.h 2016-12-31 04:15:12.089973398 -0600
  5. @@ -17,8 +17,18 @@
  6. * Boston, MA 02110-1301 USA
  7. */
  8. +#if defined __UINT32_MAX__ || UINT32_MAX
  9. + #include <inttypes.h>
  10. + #else
  11. + typedef unsigned char uint8_t;
  12. + typedef unsigned short uint16_t;
  13. + typedef unsigned long uint32_t;
  14. + typedef unsigned long long uint64_t;
  15. +#endif
  16. +
  17. #include <mtd/mtd-user.h>
  18. +
  19. /* Full oob structure as written on the flash */
  20. struct sm_oob {
  21. uint32_t reserved;
  22.