From: Jose Fonseca Date: Thu, 19 Mar 2015 11:51:08 +0000 (+0000) Subject: include: Ensure float.h is included for DBL_MAX. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8d5c303ab965c928eef684755c2db9cd441e37ad;p=mesa.git include: Ensure float.h is included for DBL_MAX. I didn't actually hit the issue in practice, but just happen to notice while looking at the code. Reviewed-by: Brian Paul --- diff --git a/include/c99_math.h b/include/c99_math.h index bd35d1b32ed..5b01d53a83a 100644 --- a/include/c99_math.h +++ b/include/c99_math.h @@ -71,6 +71,7 @@ roundf(float x) #endif #ifndef INFINITY +#include // DBL_MAX #define INFINITY (DBL_MAX + DBL_MAX) #endif