aboutsummaryrefslogtreecommitdiffstats
path: root/vm_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/vm_core.h b/vm_core.h
index 1dacfebadf..07fc60ab83 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -23,9 +23,15 @@
#include "id.h"
#include "method.h"
#include "ruby_atomic.h"
-#include "thread_native.h"
#include "ccan/list/list.h"
+#include "ruby/thread_native.h"
+#if defined(_WIN32)
+#include "thread_win32.h"
+#elif defined(HAVE_PTHREAD_H)
+#include "thread_pthread.h"
+#endif
+
#ifndef ENABLE_VM_OBJSPACE
#ifdef _WIN32
/*