Fix compilation errors in FreeBSD
__FreeBSD_version is defined in sys/param.h.
This commit is contained in:
parent
45bcab3c84
commit
3d2e7e2ab5
Notes:
git
2021-05-05 09:38:23 +09:00
4
random.c
4
random.c
@ -44,8 +44,8 @@
|
|||||||
# include <wincrypt.h>
|
# include <wincrypt.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __OpenBSD__
|
#if defined(__OpenBSD__) || defined(__FreeBSD__)
|
||||||
/* to define OpenBSD for version check */
|
/* to define OpenBSD and FreeBSD for version check */
|
||||||
# include <sys/param.h>
|
# include <sys/param.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user