summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-23 22:43:53 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-23 22:43:53 +0000
commit705b8b41eb5b01d6ce626e598c7116d0596bd5ba (patch)
treebe9100a4030abeaafd584d10c88d5f4d941318e8 /vm_core.h
parent187812978af1513fdb549415f7f6c1953e04e0e1 (diff)
* vm_core.h: ruby/ruby.h should be included at the very first
place in an entire compilation unit, as it includes ruby/config.h git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/vm_core.h b/vm_core.h
index beb9ac407b..68772cd111 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -14,8 +14,6 @@
#define RUBY_VM_THREAD_MODEL 2
-#include <setjmp.h>
-
#include "ruby/ruby.h"
#include "ruby/vm.h"
#include "ruby/st.h"
@@ -33,6 +31,7 @@
#error "unsupported thread type"
#endif
+#include <setjmp.h>
#include <signal.h>
#ifndef NSIG