Index: src/arc4random_uniform.m ================================================================== --- src/arc4random_uniform.m +++ src/arc4random_uniform.m @@ -25,11 +25,16 @@ * cipher called "arcfour" in Tatu Ylonen's ssh package. * * RC4 is a registered trademark of RSA Laboratories. */ -#include +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || \ + defined(__APPLE__) +# include +#else +# include +#endif #include /* * Calculate a uniformly distributed random number less than upper_bound * avoiding "modulo bias".