gallium/auxiliary: Ensure c99_math.h is included.
authorJose Fonseca <jfonseca@vmware.com>
Wed, 29 Jul 2015 19:45:09 +0000 (20:45 +0100)
committerJose Fonseca <jfonseca@vmware.com>
Wed, 29 Jul 2015 20:25:10 +0000 (21:25 +0100)
As it is needed for exp2.

Trivial.

src/gallium/auxiliary/util/u_format_rgb9e5.h

index 9e4b1d607d76f86d65d1f3c84b95a02b4a94571e..59fc291e91796aa8a259402a05a91d17b9788e03 100644 (file)
 #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