summaryrefslogtreecommitdiff
path: root/benchmarks/rawio
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-01-28 17:26:21 +0000
committerSteve Price <steve@FreeBSD.org>2000-01-28 17:26:21 +0000
commit727779dfcaa8165494e33db6bc327613743d2679 (patch)
treec7e27d9cb53a3653afc6ad9b756075aba60160e1 /benchmarks/rawio
parentHost the distfile myself (diff)
Don't try to include machine/random.h on the Alpha.
Diffstat (limited to 'benchmarks/rawio')
-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__