OSDN Git Service

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 9e4b1d6..59fc291 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