From: Aurelien Jarno Date: Thu, 14 Nov 2013 04:16:19 +0000 (+1100) Subject: UAPI: include in linux/raid/md_p.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c0f8bd146a8b3e630798561c605f5669823107af;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git UAPI: include in linux/raid/md_p.h linux/raid/md_p.h is using conditionals depending on endianess and fails with an error if neither of __BIG_ENDIAN, __LITTLE_ENDIAN or __BYTE_ORDER are defined, but it doesn't include any header which can define these constants. This make this header unusable alone. This patch adds a #include at the beginning of this header to make it usable alone. This is needed to compile klibc on MIPS. Signed-off-by: Aurelien Jarno Signed-off-by: NeilBrown --- diff --git a/include/uapi/linux/raid/md_p.h b/include/uapi/linux/raid/md_p.h index fe1a5406d4d9..f7cf7f351144 100644 --- a/include/uapi/linux/raid/md_p.h +++ b/include/uapi/linux/raid/md_p.h @@ -16,6 +16,7 @@ #define _MD_P_H #include +#include /* * RAID superblock.