summaryrefslogtreecommitdiff
path: root/random.c
diff options
context:
space:
mode:
Diffstat (limited to 'random.c')
-rw-r--r--random.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/random.c b/random.c
index 68b47bcf1b..f2e57909a3 100644
--- a/random.c
+++ b/random.c
@@ -9,6 +9,10 @@
**********************************************************************/
+#if defined __APPLE__
+# include <AvailabilityMacros.h>
+#endif
+
#include "internal.h"
#include <limits.h>