aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1997-06-29 18:29:38 +0800
committerobrien <obrien@FreeBSD.org>1997-06-29 18:29:38 +0800
commitc044d1cd239410fd0b8e8770f32146df41205c9b (patch)
tree90bac7037604f79887bb09d77d459f88fb0bd418 /x11
parent18d50fc8c03b69e3d6346e4406654d0f04295b39 (diff)
downloadfreebsd-ports-gnome-c044d1cd239410fd0b8e8770f32146df41205c9b.tar.gz
freebsd-ports-gnome-c044d1cd239410fd0b8e8770f32146df41205c9b.tar.zst
freebsd-ports-gnome-c044d1cd239410fd0b8e8770f32146df41205c9b.zip
Add {Open,Net}BSD to the #define
Diffstat (limited to 'x11')
-rw-r--r--x11/xfishtank/files/patch-aa2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11/xfishtank/files/patch-aa b/x11/xfishtank/files/patch-aa
index 80df889e4eb7..de72ffc32816 100644
--- a/x11/xfishtank/files/patch-aa
+++ b/x11/xfishtank/files/patch-aa
@@ -13,7 +13,7 @@
#define RAND_I_3_4 1610612735
#define RAND_F_MAX 2147483647.0
+#else
-+#if defined(__FreeBSD__)
++#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+#include <stdlib.h>
+
+#define RAND_I_1_16 (RAND_MAX>>4)