Skip to content

Commit d16992a

Browse files
committed
Use HAVE_SYS_PARAM_H
1 parent 59255bf commit d16992a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/random.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#ifdef __linux__
3030
# include <sys/syscall.h>
3131
#endif
32-
#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__sun)
32+
#if HAVE_SYS_PARAM_H
3333
# include <sys/param.h>
3434
# if (__FreeBSD__ && __FreeBSD_version > 1200000) || (__DragonFly__ && __DragonFly_version >= 500700) || defined(__sun)
3535
# include <sys/random.h>

0 commit comments

Comments
 (0)