From 51edb3004256698d91ab0ed685d705c9bb23bc22 Mon Sep 17 00:00:00 2001 From: kazu Date: Tue, 9 Jan 2018 12:35:12 +0000 Subject: Include ruby/{io,encoding}.h before internal.h because of r61712 and r61713 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/encoding.h | 4 ++++ include/ruby/io.h | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'include') diff --git a/include/ruby/encoding.h b/include/ruby/encoding.h index e6ceb19cdf..0c7e1e3d6a 100644 --- a/include/ruby/encoding.h +++ b/include/ruby/encoding.h @@ -12,6 +12,10 @@ #ifndef RUBY_ENCODING_H #define RUBY_ENCODING_H 1 +#ifdef RUBY_INTERNAL_H +#error "Include this file before internal.h" +#endif + #if defined(__cplusplus) extern "C" { #if 0 diff --git a/include/ruby/io.h b/include/ruby/io.h index 60d6f6d32e..cde932ff32 100644 --- a/include/ruby/io.h +++ b/include/ruby/io.h @@ -12,6 +12,10 @@ #ifndef RUBY_IO_H #define RUBY_IO_H 1 +#ifdef RUBY_INTERNAL_H +#error "Include this file before internal.h" +#endif + #if defined(__cplusplus) extern "C" { #if 0 -- cgit v1.2.3