Added
Link Here
|
1 |
--- utils/gtf/gtfcalc.c.orig Tue Jan 23 12:48:50 2007 |
2 |
+++ utils/gtf/gtfcalc.c Tue Jan 23 12:49:18 2007 |
3 |
@@ -45,6 +45,7 @@ |
4 |
#include <string.h> |
5 |
#include <ctype.h> |
6 |
#include <math.h> |
7 |
+#include <sys/param.h> |
8 |
#include "gtf.h" |
9 |
|
10 |
/*------------------------- Global Variables ------------------------------*/ |
11 |
@@ -64,10 +65,12 @@ |
12 |
|
13 |
/*-------------------------- Implementation -------------------------------*/ |
14 |
|
15 |
+#if __FreeBSD_version < 503000 |
16 |
static double round(double v) |
17 |
{ |
18 |
return floor(v + 0.5); |
19 |
} |
20 |
+#endif |
21 |
|
22 |
static void GetInternalConstants(GTF_constants *c) |
23 |
/**************************************************************************** |