$NetBSD: patch-av,v 1.1 2004/06/06 02:28:33 sekiya Exp $ --- filter/filter_modfps.c.orig 2003-08-19 01:08:57.000000000 +0900 +++ filter/filter_modfps.c 2004-06-02 21:26:24.000000000 +0900 @@ -77,6 +77,13 @@ #include "framebuffer.h" #include "optstr.h" +#if !defined(HAVE_LRINTF) +static inline long int lrint(double x) +{ + return (long)(rint(x)); +} +#endif + static int show_results=0; /*-------------------------------------------------