$NetBSD: patch-ab,v 1.1.1.1 2007/07/12 19:56:14 drochner Exp $ --- simgear/scene/sky/cloud.cxx.orig 2007-07-12 19:52:40.000000000 +0200 +++ simgear/scene/sky/cloud.cxx @@ -27,7 +27,7 @@ #include // #include -#include +#include #include #include @@ -724,7 +724,7 @@ bool SGCloudLayer::reposition( sgVec3 p, // this happens, lets just use the last known good course. // This is a hack, and it would probably be better to make // calc_gc_course_dist() more robust. - if ( isnan(course) ) { + if ( std::isnan(course) ) { course = last_course; } else { last_course = course;