summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
Diffstat (limited to 'libvo')
-rw-r--r--libvo/gtf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libvo/gtf.c b/libvo/gtf.c
index 07a0887c57..95ad01cd74 100644
--- a/libvo/gtf.c
+++ b/libvo/gtf.c
@@ -9,6 +9,7 @@
*/
//Version 0.4
+#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
@@ -24,10 +25,12 @@
static GTF_constants GTF_given_constants = { 3.0,550.0,1,8,1.8,8,40,20,128,600 };
+#ifndef HAVE_ROUND
static double round(double v)
{
return floor(v + 0.5);
}
+#endif
static void GetRoundedConstants(GTF_constants *c)
{