Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
2 files changed, 6 insertions(+)
diff --git a/src/mtd.c b/src/mtd.c
index 1edc441..6d2264c 100644
diff --git a/src/mtd.h b/src/mtd.h
index bd21add..debfc84 100644
#include "BootControlBlocks.h"
#include "rom_nand_hamming_code_ecc.h"
+// musl library doesn't define loff_t
+#if !defined(__GLIBC__) && !defined(__UCLIBC__)
//------------------------------------------------------------------------------
// Re-definitions of true and false, because the standard ones aren't good