summaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>2001-03-12 18:15:04 +0000
committerse <se@FreeBSD.org>2001-03-12 18:15:04 +0000
commitb7780a5c43b9f804d9a01dfa212d99058d1d951a (patch)
tree55294a75ec708b11a74c68225bb05276f1504a06 /benchmarks
parente6b0faa42daf7a62221ae3192cf452089e9751a0 (diff)
downloadFreeBSD-ports-b7780a5c43b9f804d9a01dfa212d99058d1d951a.zip
FreeBSD-ports-b7780a5c43b9f804d9a01dfa212d99058d1d951a.tar.gz
Fix compilation on FreeBSD-3.x
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/bytebench/files/patch-af12
-rw-r--r--benchmarks/unixbench/files/patch-af12
2 files changed, 20 insertions, 4 deletions
diff --git a/benchmarks/bytebench/files/patch-af b/benchmarks/bytebench/files/patch-af
index bf25a76..7ecc7b2 100644
--- a/benchmarks/bytebench/files/patch-af
+++ b/benchmarks/bytebench/files/patch-af
@@ -1,6 +1,14 @@
--- src/dhry_1.c.orig Thu Jan 27 21:23:37 2000
-+++ src/dhry_1.c Thu Jan 27 21:24:08 2000
-@@ -78,7 +78,7 @@
++++ src/dhry_1.c Mon Mar 12 19:08:06 2001
+@@ -32,6 +32,7 @@
+ ***************************************************************************/
+ char SCCSid[] = "@(#) @(#)dhry_1.c:3.4 -- 5/15/91 19:30:21";
+
++#include <sys/types.h>
+ #include <stdio.h>
+ #include "dhry.h"
+ #include "timeit.c"
+@@ -78,7 +79,7 @@
/* Measurements should last at least about 2 seconds */
#endif
#ifdef TIME
diff --git a/benchmarks/unixbench/files/patch-af b/benchmarks/unixbench/files/patch-af
index bf25a76..7ecc7b2 100644
--- a/benchmarks/unixbench/files/patch-af
+++ b/benchmarks/unixbench/files/patch-af
@@ -1,6 +1,14 @@
--- src/dhry_1.c.orig Thu Jan 27 21:23:37 2000
-+++ src/dhry_1.c Thu Jan 27 21:24:08 2000
-@@ -78,7 +78,7 @@
++++ src/dhry_1.c Mon Mar 12 19:08:06 2001
+@@ -32,6 +32,7 @@
+ ***************************************************************************/
+ char SCCSid[] = "@(#) @(#)dhry_1.c:3.4 -- 5/15/91 19:30:21";
+
++#include <sys/types.h>
+ #include <stdio.h>
+ #include "dhry.h"
+ #include "timeit.c"
+@@ -78,7 +79,7 @@
/* Measurements should last at least about 2 seconds */
#endif
#ifdef TIME
OpenPOWER on IntegriCloud