From: oetiker Date: Mon, 10 Aug 2009 11:48:10 +0000 (+0000) Subject: include math.h when compileing X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=35cb07335162d6b32b6c5673217656a50ea8cfce;p=rrdtool.git include math.h when compileing git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1888 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/m4/acinclude.m4 b/m4/acinclude.m4 index d207abb..dff8026 100644 --- a/m4/acinclude.m4 +++ b/m4/acinclude.m4 @@ -390,6 +390,10 @@ AC_CACHE_VAL([rd_cv_ieee_$2], # define isinf(a) (fpclassify(a) == FP_INFINITE) #endif +#if HAVE_MATH_H +#include +#endif + #include int main(void){ double rrdnan,rrdinf,rrdc,rrdzero;