$NetBSD: patch-af,v 1.1 2009/08/16 21:21:51 wiz Exp $ --- src/move.c.orig 2009-06-21 15:15:40.000000000 +0000 +++ src/move.c @@ -63,6 +63,13 @@ #include "drive.h" +#ifndef fminf +#define fminf(a,b) (((a) < (b)) ? (a) : (b)) +#endif +#ifndef fmaxf +#define fmaxf(a,b) (((a) < (b)) ? (b) : (a)) +#endif + /* max and min vtol heights above terrain */ #define VTOL_HEIGHT_MIN 250 #define VTOL_HEIGHT_LEVEL 300