aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>2001-01-04 14:58:01 +0800
committergrog <grog@FreeBSD.org>2001-01-04 14:58:01 +0800
commit727de5cba0d28a6e7aa2e33b4db1158db6fef6ad (patch)
treebcabf29072b175ca7264096a866deedf12496a3f /benchmarks
parent2cfa67b711d7e6a6aa06315804dbe48988c223f7 (diff)
downloadfreebsd-ports-gnome-727de5cba0d28a6e7aa2e33b4db1158db6fef6ad.tar.gz
freebsd-ports-gnome-727de5cba0d28a6e7aa2e33b4db1158db6fef6ad.tar.zst
freebsd-ports-gnome-727de5cba0d28a6e7aa2e33b4db1158db6fef6ad.zip
Include sys/random.h, not machine/random.h.
This should fix the conditional build breakage introduced in revision 1.2
Diffstat (limited to 'benchmarks')
-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> */