$NetBSD: patch-ah,v 1.3 2007/02/15 18:26:15 joerg Exp $ --- src/include/ivstd/nan.h.orig 2007-02-15 15:31:06.000000000 +0000 +++ src/include/ivstd/nan.h @@ -3,7 +3,7 @@ #if defined(__GLIBC__) && (__GLIBC__==2 && __GLIBC_MINOR__>0 || __GLIBC__>2) #include -#elif !defined(__CYGWIN__) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__APPLE__) +#elif !defined(__CYGWIN__) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__APPLE__) && !defined(__DragonFly__) #include_next #else #include @@ -12,7 +12,7 @@ #include #endif -#if defined(__sun__) && defined(__svr4__) || defined(__CYGWIN__) || defined(__linux__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__APPLE__) +#if defined(__sun__) && defined(__svr4__) || defined(__CYGWIN__) || defined(__linux__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__APPLE__) || defined(__DragonFly__) #define isnanorinf(dval) (!finite(dval)) #elif defined(__alpha) #define isnanorinf(dval) (IsNANorINF(dval))