From 8d5c303ab965c928eef684755c2db9cd441e37ad Mon Sep 17 00:00:00 2001 From: Jose Fonseca Date: Thu, 19 Mar 2015 11:51:08 +0000 Subject: [PATCH] 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 --- include/c99_math.h | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2