aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/mtd/src/mtd.c
diff options
context:
space:
mode:
Diffstat (limited to 'package/system/mtd/src/mtd.c')
-rw-r--r--package/system/mtd/src/mtd.c1
1 files changed, 1 insertions, 0 deletions
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 <byteswap.h>
+#include <endian.h>
#include <limits.h>
#include <unistd.h>
#include <stdlib.h>