summaryrefslogtreecommitdiff
path: root/shape.c
diff options
context:
space:
mode:
Diffstat (limited to 'shape.c')
-rw-r--r--shape.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shape.c b/shape.c
index 6c158b2c8e..36d1adb7d9 100644
--- a/shape.c
+++ b/shape.c
@@ -777,7 +777,9 @@ rb_shape_find_by_id(VALUE mod, VALUE id)
}
#endif
+#ifdef HAVE_MMAP
#include <sys/mman.h>
+#endif
void
Init_default_shapes(void)