mtd: fix endianness detection on musl
[openwrt/staging/chunkeey.git] / package / system / mtd / src / seama.c
index bcda321918d03a772ee6a420501aa899af0ca300..1f66adc439b7dadf36b050287c8af7d3e8292986 100644 (file)
@@ -22,6 +22,7 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  */
 
+#include <endian.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <stddef.h>