Code

Fix Win32 build. VC++ 6.0 and 7.0 now use the thread-safe code.
[rrdtool-all.git] / program / src / rrd_nan_inf.c
index 9fc3b616ff010d8d86b2c15b19f71f674c68cb4a..ce0873e5ed37003c7e4c12dd7ae29866870aae0a 100644 (file)
@@ -2,6 +2,8 @@
 
 #if defined(WIN32)
 
+#include <math.h>
+
 double set_to_DNAN(void) { return (double)fmod(0.0,0.0); }
 double set_to_DINF(void) { return (double)fabs((double)log(0.0)); }