diff -Naur eudev-1.10/src/mtd_probe/mtd_probe.h eudev-1.10new/src/mtd_probe/mtd_probe.h --- eudev-1.10/src/mtd_probe/mtd_probe.h 2013-08-26 17:36:38.000000000 -0500 +++ eudev-1.10new/src/mtd_probe/mtd_probe.h 2016-12-31 04:15:12.089973398 -0600 @@ -17,8 +17,18 @@ * Boston, MA 02110-1301 USA */ +#if defined __UINT32_MAX__ || UINT32_MAX + #include + #else + typedef unsigned char uint8_t; + typedef unsigned short uint16_t; + typedef unsigned long uint32_t; + typedef unsigned long long uint64_t; +#endif + #include + /* Full oob structure as written on the flash */ struct sm_oob { uint32_t reserved;