mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
9c2c2f77ba
commit
51edb30042
8 changed files with 16 additions and 6 deletions
|
@ -12,9 +12,9 @@
|
|||
|
||||
**********************************************************************/
|
||||
|
||||
#include <ruby/io.h>
|
||||
#include "internal.h"
|
||||
#include <ruby/st.h>
|
||||
#include <ruby/io.h>
|
||||
#include <ruby/re.h>
|
||||
#include "node.h"
|
||||
#include "gc.h"
|
||||
|
|
|
@ -12,9 +12,9 @@
|
|||
|
||||
**********************************************************************/
|
||||
|
||||
#include "ruby/io.h"
|
||||
#include "internal.h"
|
||||
#include "ruby/debug.h"
|
||||
#include "ruby/io.h"
|
||||
#include "gc.h"
|
||||
#include "node.h"
|
||||
#include "vm_core.h"
|
||||
|
|
|
@ -35,8 +35,8 @@
|
|||
#endif
|
||||
#include <ctype.h>
|
||||
|
||||
#include "internal.h"
|
||||
#include "ruby/io.h"
|
||||
#include "internal.h"
|
||||
#include "ruby/util.h"
|
||||
|
||||
#include <signal.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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
# error too old GCC
|
||||
#endif
|
||||
|
||||
#include "internal.h"
|
||||
#include "ruby/io.h"
|
||||
#include "internal.h"
|
||||
#include "ruby/st.h"
|
||||
#include "ruby/util.h"
|
||||
#include "encindex.h"
|
||||
|
|
|
@ -11,8 +11,9 @@
|
|||
|
||||
**********************************************************************/
|
||||
|
||||
#include "internal.h"
|
||||
#include "ruby/config.h"
|
||||
#include "ruby/io.h"
|
||||
#include "internal.h"
|
||||
#include "ruby/thread.h"
|
||||
#include "ruby/util.h"
|
||||
#include "vm_core.h"
|
||||
|
|
3
thread.c
3
thread.c
|
@ -63,10 +63,11 @@
|
|||
|
||||
/* for model 2 */
|
||||
|
||||
#include "ruby/config.h"
|
||||
#include "ruby/io.h"
|
||||
#include "eval_intern.h"
|
||||
#include "gc.h"
|
||||
#include "timev.h"
|
||||
#include "ruby/io.h"
|
||||
#include "ruby/thread.h"
|
||||
#include "ruby/thread_native.h"
|
||||
#include "ruby/debug.h"
|
||||
|
|
Loading…
Reference in a new issue