summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/prelude.c.tmpl5
1 files changed, 3 insertions, 2 deletions
diff --git a/template/prelude.c.tmpl b/template/prelude.c.tmpl
index b582e2ddd6..a8b53d05c9 100644
--- a/template/prelude.c.tmpl
+++ b/template/prelude.c.tmpl
@@ -87,10 +87,11 @@ Prelude.new(output, ARGV, vpath).instance_eval do
sources: <%= @preludes.map {|n,*| prelude_base(n)}.join(', ') %><%=%>
*/
%unless @preludes.empty?
-#include "ruby/ruby.h"
#include "internal.h"
-#include "vm_core.h"
+#include "internal/warnings.h"
#include "iseq.h"
+#include "ruby/ruby.h"
+#include "vm_core.h"
% preludes = @preludes.values.sort
% preludes.each {|i, prelude, lines, sub|