summaryrefslogtreecommitdiff
path: root/ext/fiddle/closure.c
diff options
context:
space:
mode:
authorSutou Kouhei <[email protected]>2023-10-30 14:48:07 +0900
committerHiroshi SHIBATA <[email protected]>2023-11-08 09:25:45 +0900
commitc19ea1066a22b8ef3b44050d42a47a8413d97692 (patch)
tree757d6bc4ad219bb1fdd5003f9c001131437e6c1b /ext/fiddle/closure.c
parent2a6d6d3d65de43635a5f6ad38dbca170f1e40119 (diff)
[ruby/fiddle] Include stdbool.h explicitly for old Ruby
https://github.com/ruby/fiddle/commit/74a05fb358
Diffstat (limited to 'ext/fiddle/closure.c')
-rw-r--r--ext/fiddle/closure.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/fiddle/closure.c b/ext/fiddle/closure.c
index f39ff35f09..2b4cdb6608 100644
--- a/ext/fiddle/closure.c
+++ b/ext/fiddle/closure.c
@@ -1,4 +1,5 @@
#include <fiddle.h>
+#include <stdbool.h>
#include <ruby/thread.h>
int ruby_thread_has_gvl_p(void); /* from internal.h */