$NetBSD: patch-ab,v 1.4 2009/07/19 00:33:10 asau Exp $

--- src/DLD-FUNCTIONS/__glpk__.cc.orig	2009-05-25 10:05:00.000000000 +0400
+++ src/DLD-FUNCTIONS/__glpk__.cc	2009-06-28 21:20:00.000000000 +0400
@@ -25,6 +25,7 @@
 #endif
 
 #include <cfloat>
+#include <cmath>
 #include <csetjmp>
 #include <ctime>
 
@@ -37,6 +38,10 @@
 #include "oct-obj.h"
 #include "pager.h"
 
+#if defined(_GLIBCXX_USE_C99_MATH) && !defined(_GLIBCXX_USE_C99_FP_MACROS_DYNAMIC)
+using std::isinf;
+#endif
+
 #if defined (HAVE_GLPK)
 
 extern "C"
