summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2019-08-09 14:11:24 +0900
committerKoichi Sasada <ko1@atdot.net>2019-08-09 14:11:24 +0900
commit3b39cc6b038d419081a3d302a3cd73c3859613c7 (patch)
tree60b5d5a792c45cc3be1e6bfdc003712a9dfd7e9c
parent6bf8db9a07e95820705f7ec119f4038a529182ef (diff)
gc.h is required on mswin build.
thread.c requires gc.h on mswin build. Sorry.
-rw-r--r--common.mk1
-rw-r--r--thread.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index d0b1b29..6b4a0b0 100644
--- a/common.mk
+++ b/common.mk
@@ -3035,6 +3035,7 @@ thread.$(OBJEXT): {$(VPATH)}debug_counter.h
thread.$(OBJEXT): {$(VPATH)}defines.h
thread.$(OBJEXT): {$(VPATH)}encoding.h
thread.$(OBJEXT): {$(VPATH)}eval_intern.h
+thread.$(OBJEXT): {$(VPATH)}gc.h
thread.$(OBJEXT): {$(VPATH)}hrtime.h
thread.$(OBJEXT): {$(VPATH)}id.h
thread.$(OBJEXT): {$(VPATH)}intern.h
diff --git a/thread.c b/thread.c
index 0f8b512..52304f7 100644
--- a/thread.c
+++ b/thread.c
@@ -70,6 +70,7 @@
#include "ruby/thread.h"
#include "ruby/thread_native.h"
#include "ruby/debug.h"
+#include "gc.h"
#include "internal.h"
#include "iseq.h"
#include "vm_core.h"