blob: 488d5604e7437f68bd8c60ed88ae62337baf55d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$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;
/*-------------------------------------------------
|