1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix compilation errors in FreeBSD

__FreeBSD_version is defined in sys/param.h.
This commit is contained in:
Peter Zhu 2021-05-04 21:33:30 +00:00
parent 45bcab3c84
commit 3d2e7e2ab5
Notes: git 2021-05-05 09:38:23 +09:00

View file

@ -44,8 +44,8 @@
# include <wincrypt.h>
#endif
#ifdef __OpenBSD__
/* to define OpenBSD for version check */
#if defined(__OpenBSD__) || defined(__FreeBSD__)
/* to define OpenBSD and FreeBSD for version check */
# include <sys/param.h>
#endif