$OpenBSD: patch-plugins_stats_ChartDrawer_cc,v 1.1 2007/12/27 10:24:51 sthen Exp $ --- plugins/stats/ChartDrawer.cc.orig Sat Sep 29 01:47:32 2007 +++ plugins/stats/ChartDrawer.cc Sat Sep 29 02:03:26 2007 @@ -272,6 +272,8 @@ void ChartDrawer::AddValue(const size_t idx, const dou #ifdef USE_SOLARIS if(isnand(val) || (isinf(val))) +#elif defined __OpenBSD__ + if(isnan(val) || (isinf(val))) #else if(std::isnan(val) || (std::isinf(val))) #endif