aboutsummaryrefslogtreecommitdiffstats
path: root/ext/-test-/rational
diff options
context:
space:
mode:
Diffstat (limited to 'ext/-test-/rational')
-rw-r--r--ext/-test-/rational/depend5
-rw-r--r--ext/-test-/rational/rat.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/ext/-test-/rational/depend b/ext/-test-/rational/depend
index a43589042b..a814c2ef7e 100644
--- a/ext/-test-/rational/depend
+++ b/ext/-test-/rational/depend
@@ -1,3 +1,8 @@
$(OBJS): $(HDRS) $(ruby_headers)
rat.o: rat.c $(top_srcdir)/internal.h
+
+# AUTOGENERATED DEPENDENCIES START
+rat.o: $(hdrdir)/ruby/encoding.h
+rat.o: $(hdrdir)/ruby/oniguruma.h
+# AUTOGENERATED DEPENDENCIES END
diff --git a/ext/-test-/rational/rat.c b/ext/-test-/rational/rat.c
index 63ca849816..772546fca8 100644
--- a/ext/-test-/rational/rat.c
+++ b/ext/-test-/rational/rat.c
@@ -1,4 +1,3 @@
-#include "ruby.h"
#include "internal.h"
#if defined(HAVE_LIBGMP) && defined(HAVE_GMP_H)