summaryrefslogtreecommitdiff
path: root/random.c
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2021-08-23 13:01:23 +0100
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-08-24 10:52:04 +0900
commit8d2af51a783fa3490c158b110629110ab3257f56 (patch)
tree21a75901a0275e8fc7c38d724869ccbf6902dbe5 /random.c
parentd9f084ed142f8f3f76041237f3a507171b4d8c3c (diff)
netbsd coroutine uses assembly instead and little build fix.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4762
Diffstat (limited to 'random.c')
-rw-r--r--random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/random.c b/random.c
index 01796460dd..5663f87be2 100644
--- a/random.c
+++ b/random.c
@@ -44,7 +44,7 @@
# include <wincrypt.h>
#endif
-#if defined(__OpenBSD__) || defined(__FreeBSD__)
+#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__)
/* to define OpenBSD and FreeBSD for version check */
# include <sys/param.h>
#endif