From cfa37fe1085ae30d17cfeac27a16b8e34ce6685e Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 13 Oct 2005 14:30:54 +0000 Subject: * io.c, pack.c, ext/syck/rubyext.c, ext/syck/syck.h, missing/isinf.c: get rid of warnings. fixed: [ruby-core:06247] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- io.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'io.c') diff --git a/io.c b/io.c index 0d97b16e6..58634bbc5 100644 --- a/io.c +++ b/io.c @@ -72,6 +72,10 @@ #endif #ifdef HAVE_UNISTD_H +#ifdef HAVE_SYSCALL_H +#include +#endif + #include #endif -- cgit