From: Jon Turney Date: Mon, 27 Nov 2017 13:32:53 +0000 (+0000) Subject: util: Also include endian.h on cygwin X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2c62ccb10a7f3a2962f51688a3ae957254c5ce9b;p=mesa.git util: Also include endian.h on cygwin If u_endian.h can't determine the endianess, the default behaviour in sha1.c is to build for big-endian Signed-off-by: Jon Turney Reviewed-by: Matt Turner --- diff --git a/src/util/u_endian.h b/src/util/u_endian.h index 50f94c578ed..22d011ec008 100644 --- a/src/util/u_endian.h +++ b/src/util/u_endian.h @@ -27,7 +27,7 @@ #ifndef U_ENDIAN_H #define U_ENDIAN_H -#if defined(__GLIBC__) || defined(ANDROID) +#if defined(__GLIBC__) || defined(ANDROID) || defined(__CYGWIN__) #include #if __BYTE_ORDER == __LITTLE_ENDIAN