summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2014-02-27 01:07:30 -0500
committerIlia Mirkin <[email protected]>2014-02-28 20:00:34 -0500
commitf19271c7bf73efe6d583e9dc5fc37329558a5cc3 (patch)
treea26bc2ee27fa3cc542038770c2889cd2c7824e0b
parenta12d4d0398c437911720069d293b469c60c4488c (diff)
gallium/util: add missing u_math include
This is needed for MIN2/MAX2 Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
-rw-r--r--src/gallium/auxiliary/util/u_range.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_range.h b/src/gallium/auxiliary/util/u_range.h
index 4b1d0d1be52..efe25ef5e42 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 */