summaryrefslogtreecommitdiff
path: root/class.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-15 11:49:06 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-15 11:49:06 +0000
commit7cd76ab0c579ee5400d0d33753369e675b497d36 (patch)
treed35212b88b3af66efc3eada3fd4c4e114317d431 /class.c
parent64f9f1ba5884975ba91abcdb7697988ba0ba64bf (diff)
downloadruby-7cd76ab0c579ee5400d0d33753369e675b497d36.tar.gz
* internal.h: Include ruby.h and ruby/encoding.h to be
includable without prior inclusion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'class.c')
-rw-r--r--class.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/class.c b/class.c
index c6b659f28f..9500a1fbdd 100644
--- a/class.c
+++ b/class.c
@@ -23,12 +23,11 @@
* \{
*/
-#include "ruby/ruby.h"
+#include "internal.h"
#include "ruby/st.h"
#include "method.h"
#include "constant.h"
#include "vm_core.h"
-#include "internal.h"
#include <ctype.h>
int rb_vm_add_root_module(ID id, VALUE module);