mtd: fix endianness detection on musl

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: John Crispin <john@phrozen.org>
This commit is contained in:
Stijn Tintel 2016-10-21 17:32:03 +03:00
parent 136319e72d
commit dec29082e0
2 changed files with 2 additions and 0 deletions

View file

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

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