$NetBSD: patch-af,v 1.1.1.1 1999/10/01 11:23:15 drochner Exp $ --- src/exec/dxmods/_compoper1.c.orig Sun Sep 26 23:18:48 1999 +++ src/exec/dxmods/_compoper1.c Sun Sep 26 23:19:04 1999 @@ -457,6 +457,9 @@ #ifdef freebsd # define trunc(x) ((float)((int)(x))) #endif +#ifdef __NetBSD__ +# define trunc(x) ((float)((int)(x))) +#endif #ifdef cygwin # define trunc(x) ((float)((int)(x))) #endif