aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorJose Fonseca <[email protected]>2015-07-29 20:45:09 +0100
committerJose Fonseca <[email protected]>2015-07-29 21:25:10 +0100
commit8413822c8cfaf9110625c1a4a66ee916c2a916e3 (patch)
tree4800d924d56a7e953306dd4f3e46680774394161 /src/gallium/auxiliary
parent2b916c6e47862d82b5545e962ebb83b811904c3b (diff)
gallium/auxiliary: Ensure c99_math.h is included.
As it is needed for exp2. Trivial.
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/util/u_format_rgb9e5.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_format_rgb9e5.h b/src/gallium/auxiliary/util/u_format_rgb9e5.h
index 9e4b1d607d7..59fc291e917 100644
--- a/src/gallium/auxiliary/util/u_format_rgb9e5.h
+++ b/src/gallium/auxiliary/util/u_format_rgb9e5.h
@@ -26,9 +26,10 @@
#ifndef RGB9E5_H
#define RGB9E5_H
-#include <math.h>
#include <assert.h>
+#include "c99_math.h"
+
#define RGB9E5_EXPONENT_BITS 5
#define RGB9E5_MANTISSA_BITS 9
#define RGB9E5_EXP_BIAS 15