* Moved all files from vmcore/ to vm/.
[cacao.git] / src / threads / thread.hpp
index 3af46159ca3c0f049e815e6f56cc60c0b6768e71..c6336c80afd59dcbdce6334b5adfb8c05529b545 100644 (file)
 extern "C" {
 #endif
 
-#include "vmcore/os.hpp"
-
-#include "threads/mutex.hpp"
+#include "vm/types.h"
 
+// Include early to get threadobject.
 #if defined(ENABLE_THREADS)
 # include "threads/posix/thread-posix.hpp"
 #else
 # include "threads/none/thread-none.h"
 #endif
 
-#include "vm/types.h"
-
-#include "vm/global.h"
+#include "vm/os.hpp"
 
 #include "native/jni.h"
 #include "native/llni.h"
 
-#include "vmcore/utf8.h"
+#include "threads/mutex.hpp"
+
+#include "vm/global.h"
+#include "vm/utf8.h"
 
 
 /* only define the following stuff with thread enabled ************************/