summaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-01-28 17:26:21 +0000
committersteve <steve@FreeBSD.org>2000-01-28 17:26:21 +0000
commit36e49158ca84842398113769eaad686c6e7099c6 (patch)
treee3192a98bd0b6fdc1576d8a8b52ea266c8327b04 /benchmarks
parent57063dee85e3e71864acba4e974b5682c22f83be (diff)
downloadFreeBSD-ports-36e49158ca84842398113769eaad686c6e7099c6.zip
FreeBSD-ports-36e49158ca84842398113769eaad686c6e7099c6.tar.gz
Don't try to include machine/random.h on the Alpha.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/rawio/files/patch-ac8
1 files changed, 5 insertions, 3 deletions
diff --git a/benchmarks/rawio/files/patch-ac b/benchmarks/rawio/files/patch-ac
index 0bdb7e8..092386b 100644
--- a/benchmarks/rawio/files/patch-ac
+++ b/benchmarks/rawio/files/patch-ac
@@ -1,11 +1,13 @@
---- mkrandom.c.orig Sat Jan 22 03:02:13 2000
-+++ mkrandom.c Sat Jan 22 03:02:21 2000
-@@ -54,7 +54,7 @@
+--- mkrandom.c.orig Sat Jan 1 19:47:33 2000
++++ mkrandom.c Thu Jan 27 21:32:52 2000
+@@ -54,7 +54,9 @@
#include <sys/wait.h>
#include <sys/resource.h>
#include <signal.h>
-#include "random.h"
++#if !defined(__FreeBSD__) || !defined(__alpha__)
+#include <machine/random.h>
++#endif
/* submitted by Andy Doran <ad@psn.ie> */
#ifdef __NetBSD__
OpenPOWER on IntegriCloud