summaryrefslogtreecommitdiff
path: root/ext/objspace
diff options
context:
space:
mode:
Diffstat (limited to 'ext/objspace')
-rw-r--r--ext/objspace/depend5
-rw-r--r--ext/objspace/object_tracing.c3
-rw-r--r--ext/objspace/objspace.c3
-rw-r--r--ext/objspace/objspace_dump.c4
4 files changed, 8 insertions, 7 deletions
diff --git a/ext/objspace/depend b/ext/objspace/depend
index 23d7081092..297e3bda1b 100644
--- a/ext/objspace/depend
+++ b/ext/objspace/depend
@@ -51,4 +51,9 @@ objspace_dump.o: $(hdrdir)/ruby/missing.h
objspace_dump.o: $(hdrdir)/ruby/ruby.h
objspace_dump.o: $(hdrdir)/ruby/st.h
objspace_dump.o: $(hdrdir)/ruby/subst.h
+object_tracing.o: $(top_srcdir)/include/ruby.h
+object_tracing.o: $(hdrdir)/ruby/encoding.h
+object_tracing.o: $(hdrdir)/ruby/oniguruma.h
+objspace.o: $(top_srcdir)/include/ruby.h
+objspace_dump.o: $(top_srcdir)/include/ruby.h
# AUTOGENERATED DEPENDENCIES END
diff --git a/ext/objspace/object_tracing.c b/ext/objspace/object_tracing.c
index 975518c654..3a7f54427d 100644
--- a/ext/objspace/object_tracing.c
+++ b/ext/objspace/object_tracing.c
@@ -13,10 +13,9 @@
**********************************************************************/
-#include "ruby/ruby.h"
+#include "internal.h"
#include "ruby/debug.h"
#include "objspace.h"
-#include "internal.h"
struct traceobj_arg {
int running;
diff --git a/ext/objspace/objspace.c b/ext/objspace/objspace.c
index 88ebfca20e..c423723fa2 100644
--- a/ext/objspace/objspace.c
+++ b/ext/objspace/objspace.c
@@ -12,13 +12,12 @@
**********************************************************************/
-#include <ruby/ruby.h>
+#include "internal.h"
#include <ruby/st.h>
#include <ruby/io.h>
#include <ruby/re.h>
#include "node.h"
#include "gc.h"
-#include "internal.h"
/*
* call-seq:
diff --git a/ext/objspace/objspace_dump.c b/ext/objspace/objspace_dump.c
index cb8f943d97..7e082f96bb 100644
--- a/ext/objspace/objspace_dump.c
+++ b/ext/objspace/objspace_dump.c
@@ -12,15 +12,13 @@
**********************************************************************/
-#include "ruby/ruby.h"
+#include "internal.h"
#include "ruby/debug.h"
-#include "ruby/encoding.h"
#include "ruby/io.h"
#include "gc.h"
#include "node.h"
#include "vm_core.h"
#include "objspace.h"
-#include "internal.h"
static VALUE sym_output, sym_stdout, sym_string, sym_file;