Fix build on OS X

This commit is contained in:
Jōshin 2018-12-25 19:49:36 -08:00
parent aa7e4cce8e
commit a9f39225c5

View File

@ -4,6 +4,7 @@
# include <unistd.h>
# define getentropy_impl getentropy
#elif defined __APPLE__ && defined __MACH__
# include <unistd.h>
# include <sys/random.h>
# define getentropy_impl getentropy
#else