From 6f7af73d73cead0bf4e29d4f91ad2885bdf879cb 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 e92f83a..e403d49 100644 --- a/src/gallium/auxiliary/util/u_math.h +++ b/src/gallium/auxiliary/util/u_math.h @@ -55,6 +55,9 @@ extern "C" { #endif +#ifdef PIPE_ARCH_BIG_ENDIAN +#include +#endif #ifndef M_SQRT2 #define M_SQRT2 1.41421356237309504880 -- 2.7.4