aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-01-29 01:26:21 +0800
committersteve <steve@FreeBSD.org>2000-01-29 01:26:21 +0800
commit36e49158ca84842398113769eaad686c6e7099c6 (patch)
treee3192a98bd0b6fdc1576d8a8b52ea266c8327b04 /benchmarks
parent57063dee85e3e71864acba4e974b5682c22f83be (diff)
downloadfreebsd-ports-gnome-36e49158ca84842398113769eaad686c6e7099c6.tar.gz
freebsd-ports-gnome-36e49158ca84842398113769eaad686c6e7099c6.tar.zst
freebsd-ports-gnome-36e49158ca84842398113769eaad686c6e7099c6.zip
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 0bdb7e8ddd8b..092386bf01d1 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__