From 026321c5b976c5e95731046b94555b1226198be4 Mon Sep 17 00:00:00 2001 From: Matt Valentine-House Date: Fri, 17 Feb 2023 15:51:16 +0000 Subject: [Feature #19474] Refactor NEWOBJ macros NEWOBJ_OF is now our canonical newobj macro. It takes an optional ec --- shape.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'shape.c') 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 +#endif void Init_default_shapes(void) -- cgit v1.2.1