$NetBSD: patch-ae,v 1.1.1.1 2009/10/02 20:51:26 markd Exp $ --- kalgebra/src/graph2d.cpp.orig 2007-12-15 07:19:44.000000000 +1300 +++ kalgebra/src/graph2d.cpp @@ -86,6 +86,11 @@ void Graph2D::drawAxes(QPainter *f, Axe //EO write coords } +#ifdef __NetBSD__ +#define fmin(a,b) ((a)<(b)?(a):(b)) +#define fmax(a,b) ((a)>(b)?(a):(b)) +#endif + void Graph2D::drawPolarAxes(QPainter *w) { QPen ceixos;