diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/encoding.h | 4 | ||||
-rw-r--r-- | include/ruby/io.h | 4 |
2 files changed, 8 insertions, 0 deletions
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 |