$NetBSD: patch-ai,v 1.1 2005/12/28 16:06:37 joerg Exp $

--- src/misc/missing_math.c.orig	2005-12-28 15:49:50.000000000 +0000
+++ src/misc/missing_math.c
@@ -100,7 +100,7 @@ erfc(double  x)
 
 
 
-#ifndef HAVE_ISNAN
+#if !defined(HAVE_ISNAN) && !defined(isnan)
 /* isnan (originally) for SOI devices in MINGW32  hvogt (dev.c) */
 
 union ieee754_double
