From 6ccae713acc457d7df6ab15e124a7d77c5093213 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 20 Mar 2016 13:28:07 +0100 Subject: [PATCH 4/4] bigendian assert Signed-off-by: Igor Gnatenko --- src/gallium/auxiliary/util/u_math.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/auxiliary/util/u_math.h b/src/gallium/auxiliary/util/u_math.h index ecb1d63..90ada14 100644 --- a/src/gallium/auxiliary/util/u_math.h +++ b/src/gallium/auxiliary/util/u_math.h @@ -59,6 +59,9 @@ extern "C" { #endif +#ifdef PIPE_ARCH_BIG_ENDIAN +#include +#endif #ifndef M_SQRT2 #define M_SQRT2 1.41421356237309504880 -- 2.7.4