From cbee1bfb34274668a05995b9d4c78ddec9e5ea4c Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Wed, 21 Mar 2018 17:04:06 +0000 Subject: meson/configure: detect endian.h instead of trying to guess when it's available Cc: Maxin B. John Cc: Khem Raj Cc: Rob Herring Suggested-by: Jon Turney Signed-off-by: Eric Engestrom Reviewed-by: Emil Velikov Reviewed-by: Dylan Baker Cc: --- src/util/u_endian.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util') diff --git a/src/util/u_endian.h b/src/util/u_endian.h index 22d011ec008..e11b381588d 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) || defined(__CYGWIN__) +#ifdef HAVE_ENDIAN_H #include #if __BYTE_ORDER == __LITTLE_ENDIAN -- cgit v1.2.3