$NetBSD: patch-aa,v 1.1.1.1 2005/04/06 14:54:02 minskim Exp $ --- ext/RMagick/rmfill.c.orig 2004-12-18 07:44:06.000000000 +0900 +++ ext/RMagick/rmfill.c @@ -8,6 +8,14 @@ #include "rmagick.h" +#ifdef __NetBSD__ +#define fmax(x, y) my_fmax(x, y) +static double my_fmax(double x, double y) +{ + return x > y ? x : y; +} +#endif + typedef struct { double x1, y1, x2, y2;