We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59255bf commit d16992aCopy full SHA for d16992a
ext/standard/random.c
@@ -29,7 +29,7 @@
29
#ifdef __linux__
30
# include <sys/syscall.h>
31
#endif
32
-#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__sun)
+#if HAVE_SYS_PARAM_H
33
# include <sys/param.h>
34
# if (__FreeBSD__ && __FreeBSD_version > 1200000) || (__DragonFly__ && __DragonFly_version >= 500700) || defined(__sun)
35
# include <sys/random.h>
0 commit comments