mtd: fix endianness detection on musl

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: John Crispin <john@phrozen.org>
master
Stijn Tintel 8 years ago
parent 136319e72d
commit dec29082e0
  1. 1
      package/system/mtd/src/mtd.c
  2. 1
      package/system/mtd/src/seama.c

@ -23,6 +23,7 @@
#define _GNU_SOURCE
#include <byteswap.h>
#include <endian.h>
#include <limits.h>
#include <unistd.h>
#include <stdlib.h>

@ -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>

Loading…
Cancel
Save