Re: [PATCH] UAPI: include in linux/raid/md_p.h

2013-10-29 Thread NeilBrown
On Tue, 29 Oct 2013 13:28:58 +0100 Aurelien Jarno wrote: > 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

Re: [PATCH] UAPI: include in linux/raid/md_p.h

2013-10-29 Thread NeilBrown
On Tue, 29 Oct 2013 13:28:58 +0100 Aurelien Jarno wrote: > 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

[PATCH] UAPI: include in linux/raid/md_p.h

2013-10-29 Thread Aurelien Jarno
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 t