u_math: uses assert, include assert.h
authorDave Airlie <airlied@redhat.com>
Thu, 21 May 2015 01:23:06 +0000 (11:23 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 21 May 2015 23:19:58 +0000 (09:19 +1000)
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>
src/gallium/auxiliary/util/u_math.h

index 3d27a59e8c0bf579528cdb1e58a6825e24895cc9..58070a9dafa1e0d13ba3ad272904e279a2100a29 100644 (file)
@@ -42,6 +42,7 @@
 #include "pipe/p_compiler.h"
 
 #include "c99_math.h"
+#include <assert.h>
 #include <float.h>
 #include <stdarg.h>