diff options
Diffstat (limited to 'math/grace/files/patch-ai')
-rw-r--r-- | math/grace/files/patch-ai | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/math/grace/files/patch-ai b/math/grace/files/patch-ai new file mode 100644 index 000000000000..8275b463a1fd --- /dev/null +++ b/math/grace/files/patch-ai @@ -0,0 +1,17 @@ +*** cmath.h.org Thu Mar 27 13:57:30 2003 +--- cmath.h Thu Mar 27 13:59:41 2003 +*************** +*** 170,174 **** +--- 170,181 ---- + #endif + + #ifndef HAVE_ISNAN_DECL ++ #ifdef __FreeBSD__ ++ # include <sys/param.h> ++ # if __FreeBSD_version < 500100 ++ extern int isnan ( double x ); ++ # endif ++ #endif ++ #else + extern int isnan ( double x ); + #endif |