Skip to content

Commit

Permalink
Use HAVE_SYS_PARAM_H
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic committed Aug 30, 2021
1 parent 59255bf commit d16992a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/standard/random.c
Expand Up @@ -29,7 +29,7 @@
#ifdef __linux__
# include <sys/syscall.h>
#endif
#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__sun)
#if HAVE_SYS_PARAM_H
# include <sys/param.h>
# if (__FreeBSD__ && __FreeBSD_version > 1200000) || (__DragonFly__ && __DragonFly_version >= 500700) || defined(__sun)
# include <sys/random.h>
Expand Down

0 comments on commit d16992a

Please sign in to comment.