Fix FreeBSD 12

FreeBSD 12 changed the type of freelocale to the type defined by
POSIX. Check the FreeBSD version when building for FreeBSD.
This commit is contained in:
Dan McGregor
2018-05-09 06:10:37 -07:00
committed by Victor Zverovich
parent a4e4f74530
commit edbbf7ce6c
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -14,6 +14,7 @@
#ifdef _WIN32
# include <windows.h>
#else
# include <sys/param.h> // for FreeBSD version
# include <sys/types.h> // for ssize_t
#endif