summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/hash.c b/hash.c
index 68955b241c..cba71f948f 100644
--- a/hash.c
+++ b/hash.c
@@ -20,7 +20,11 @@
#include "probes.h"
#ifdef __APPLE__
-#include <crt_externs.h>
+# ifdef HAVE_CRT_EXTERNS_H
+# include <crt_externs.h>
+# else
+# include "missing/crt_externs.h"
+# endif
#endif
static VALUE rb_hash_s_try_convert(VALUE, VALUE);