summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2015-05-21 11:23:06 +1000
committerDave Airlie <airlied@redhat.com>2015-05-22 09:19:58 +1000
commit7c1a00174b2bec102030b19b6094ebcab23fe04d (patch)
tree162b04de7ca4e1728ebe6ea48edd0ad8e3ddad54
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 <brianp@vmware.com> Cc: "10.6" mesa-stable@lists.freedesktop.org Signed-off-by: Dave Airlie <airlied@redhat.com>
-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 3d27a59e8c..58070a9daf 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>