$OpenBSD: patch-kalgebra_src_graph2d_cpp,v 1.1 2008/01/22 19:59:28 espie Exp $
--- kalgebra/src/graph2d.cpp.orig	Tue Jan 22 13:26:57 2008
+++ kalgebra/src/graph2d.cpp	Tue Jan 22 13:27:42 2008
@@ -84,6 +84,8 @@ void Graph2D::drawAxes(QPainter *f, Axe a)
 	//EO write coords
 }
 
+inline float fmax(float a, float b) { return a > b ? a : b; }
+inline float fmin(float a, float b) { return a < b ? a : b; }
 void Graph2D::drawPolarAxes(QPainter *w)
 {
 	QPen ceixos;
