Mesa (master): gallium/util: add missing u_math include

Ilia Mirkin imirkin at kemper.freedesktop.org
Sat Mar 1 01:12:41 UTC 2014


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

Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Thu Feb 27 01:07:30 2014 -0500

gallium/util: add missing u_math include

This is needed for MIN2/MAX2

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>

---

 src/gallium/auxiliary/util/u_range.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/gallium/auxiliary/util/u_range.h b/src/gallium/auxiliary/util/u_range.h
index 4b1d0d1..efe25ef 100644
--- a/src/gallium/auxiliary/util/u_range.h
+++ b/src/gallium/auxiliary/util/u_range.h
@@ -36,6 +36,8 @@
 
 #include "os/os_thread.h"
 
+#include "util/u_math.h"
+
 struct util_range {
    unsigned start; /* inclusive */
    unsigned end; /* exclusive */




More information about the mesa-commit mailing list