From 7aee2013a86598a4fd100d57b72941cd899f24f0 Mon Sep 17 00:00:00 2001 From: George Claghorn Date: Tue, 7 Jul 2020 01:01:39 -0400 Subject: [PATCH] Native extension: include ruby/debug.h for rb_postponed_job_register_one prototype Avoids relying on the implicit declaration. Fixes compiling with latest Clang from Xcode 12. Closes #81. --- ext/rbtrace.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/rbtrace.c b/ext/rbtrace.c index 58125f0..db2e184 100644 --- a/ext/rbtrace.c +++ b/ext/rbtrace.c @@ -22,6 +22,7 @@ #include #include +#include #ifndef RUBY_VM #include