From 7cd76ab0c579ee5400d0d33753369e675b497d36 Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 15 Nov 2014 11:49:06 +0000 Subject: * internal.h: Include ruby.h and ruby/encoding.h to be includable without prior inclusion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/pty/depend | 1 + ext/pty/pty.c | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/pty') diff --git a/ext/pty/depend b/ext/pty/depend index 2fec61240d..8ae219de35 100644 --- a/ext/pty/depend +++ b/ext/pty/depend @@ -11,4 +11,5 @@ pty.o: $(hdrdir)/ruby/ruby.h pty.o: $(hdrdir)/ruby/st.h pty.o: $(hdrdir)/ruby/subst.h pty.o: $(hdrdir)/ruby/util.h +pty.o: $(top_srcdir)/include/ruby.h # AUTOGENERATED DEPENDENCIES END diff --git a/ext/pty/pty.c b/ext/pty/pty.c index 18983f40b1..29cc689380 100644 --- a/ext/pty/pty.c +++ b/ext/pty/pty.c @@ -33,10 +33,9 @@ #endif #include -#include "ruby/ruby.h" +#include "internal.h" #include "ruby/io.h" #include "ruby/util.h" -#include "internal.h" #include #ifdef HAVE_SYS_STROPTS_H -- cgit v1.2.3