$NetBSD: patch-ab,v 1.2 2007/06/30 18:42:24 joerg Exp $ --- src/renderer.cpp.orig 2006-06-21 19:10:03.000000000 +1200 +++ src/renderer.cpp @@ -35,6 +35,9 @@ #include +#if defined(__NetBSD__) || defined(__DragonFly__) +#define fmin(a,b) ((a)<(b)?(a):(b)) +#endif namespace KoverArtist {