summaryrefslogtreecommitdiff
path: root/benchmarks/rawio
diff options
context:
space:
mode:
authorGreg Lehey <grog@FreeBSD.org>2001-01-04 06:58:01 +0000
committerGreg Lehey <grog@FreeBSD.org>2001-01-04 06:58:01 +0000
commit3aecce6126c0bc183d384f65fcc68d40d08a3b46 (patch)
treec883ea268fc7e5ecb983c0c1e064c71d41eca6fe /benchmarks/rawio
parentUpdate checksum. (diff)
Include sys/random.h, not machine/random.h.
This should fix the conditional build breakage introduced in revision 1.2
Diffstat (limited to 'benchmarks/rawio')
-rw-r--r--benchmarks/rawio/files/patch-ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/rawio/files/patch-ac b/benchmarks/rawio/files/patch-ac
index 092386bf01d1..ee09eb5b439e 100644
--- a/benchmarks/rawio/files/patch-ac
+++ b/benchmarks/rawio/files/patch-ac
@@ -6,7 +6,7 @@
#include <signal.h>
-#include "random.h"
+#if !defined(__FreeBSD__) || !defined(__alpha__)
-+#include <machine/random.h>
++#include <sys/random.h>
+#endif
/* submitted by Andy Doran <ad@psn.ie> */