squashfs: Fix compilation on big endian systems

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
This commit is contained in:
Pali Rohár 2022-04-06 23:31:53 +02:00 committed by Tom Rini
parent ad9f3771f6
commit 9320db0926
2 changed files with 2 additions and 4 deletions

View File

@ -12,8 +12,7 @@
#include <errno.h> #include <errno.h>
#include <fs.h> #include <fs.h>
#include <linux/types.h> #include <linux/types.h>
#include <linux/byteorder/little_endian.h> #include <asm/byteorder.h>
#include <linux/byteorder/generic.h>
#include <memalign.h> #include <memalign.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>

View File

@ -7,8 +7,7 @@
#include <errno.h> #include <errno.h>
#include <linux/types.h> #include <linux/types.h>
#include <linux/byteorder/little_endian.h> #include <asm/byteorder.h>
#include <linux/byteorder/generic.h>
#include <stdint.h> #include <stdint.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>