I didn't actually hit the issue in practice, but just happen to notice
while looking at the code.
---
 include/c99_math.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/c99_math.h b/include/c99_math.h
index bd35d1b..5b01d53 100644
--- a/include/c99_math.h
+++ b/include/c99_math.h
@@ -71,6 +71,7 @@ roundf(float x)
 #endif
 
 #ifndef INFINITY
+#include <float.h> // DBL_MAX
 #define INFINITY (DBL_MAX + DBL_MAX)
 #endif
 
-- 
2.1.0

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to