summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_math.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2015-05-21 11:23:06 +1000
committerDave Airlie <[email protected]>2015-05-22 09:19:58 +1000
commit7c1a00174b2bec102030b19b6094ebcab23fe04d (patch)
tree162b04de7ca4e1728ebe6ea48edd0ad8e3ddad54 /src/gallium/auxiliary/util/u_math.h
parentd67515b7be1ebd9482970ac1867ee4e9bbbf96d5 (diff)
u_math: uses assert, include assert.h
this fixes a build problem found on RHEL s390. not sure what configure options caused it, I couldn't get it on x86 here. Reviewed-by: Brian Paul <[email protected]> Cc: "10.6" [email protected] Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_math.h')
-rw-r--r--src/gallium/auxiliary/util/u_math.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_math.h b/src/gallium/auxiliary/util/u_math.h
index 3d27a59e8c0..58070a9dafa 100644
--- a/src/gallium/auxiliary/util/u_math.h
+++ b/src/gallium/auxiliary/util/u_math.h
@@ -42,6 +42,7 @@
#include "pipe/p_compiler.h"
#include "c99_math.h"
+#include <assert.h>
#include <float.h>
#include <stdarg.h>