From: Stijn Tintel Date: Fri, 21 Oct 2016 14:32:03 +0000 (+0300) Subject: mtd: fix endianness detection on musl X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=dec29082e0d3d9aed4815e969641bd155b799b42;p=librecmc%2Flibrecmc.git mtd: fix endianness detection on musl Signed-off-by: Stijn Tintel Acked-by: John Crispin --- diff --git a/package/system/mtd/src/mtd.c b/package/system/mtd/src/mtd.c index 822e466f47..91e169eb41 100644 --- a/package/system/mtd/src/mtd.c +++ b/package/system/mtd/src/mtd.c @@ -23,6 +23,7 @@ #define _GNU_SOURCE #include +#include #include #include #include diff --git a/package/system/mtd/src/seama.c b/package/system/mtd/src/seama.c index bcda321918..1f66adc439 100644 --- a/package/system/mtd/src/seama.c +++ b/package/system/mtd/src/seama.c @@ -22,6 +22,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include #include #include #include