Fix Win32 build. VC++ 6.0 and 7.0 now use the thread-safe code.
[rrdtool.git] / src / rrd_nan_inf.c
index 9fc3b61..ce0873e 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)); }