Mesa (master): u_math: uses assert, include assert.h

Dave Airlie airlied at kemper.freedesktop.org
Thu May 21 23:20:42 UTC 2015


Module: Mesa
Branch: master
Commit: 7c1a00174b2bec102030b19b6094ebcab23fe04d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7c1a00174b2bec102030b19b6094ebcab23fe04d

Author: Dave Airlie <airlied at redhat.com>
Date:   Thu May 21 11:23:06 2015 +1000

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 at vmware.com>
Cc: "10.6" mesa-stable at lists.freedesktop.org
Signed-off-by: Dave Airlie <airlied at redhat.com>

---

 src/gallium/auxiliary/util/u_math.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/auxiliary/util/u_math.h b/src/gallium/auxiliary/util/u_math.h
index 3d27a59..58070a9 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>
 




More information about the mesa-commit mailing list