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 3d27a59..58070a9 100644 (file)
@@ -42,6 +42,7 @@
 #include "pipe/p_compiler.h"
 
 #include "c99_math.h"
+#include <assert.h>
 #include <float.h>
 #include <stdarg.h>