summaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-10-13 14:30:54 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-10-13 14:30:54 +0000
commitcfa37fe1085ae30d17cfeac27a16b8e34ce6685e (patch)
treeb6f172c054b85293861ba999715bb367f8e1ecf9 /io.c
parentf5dd3bce9dff8035a35ac6b8797f6595c1083840 (diff)
downloadruby-cfa37fe1085ae30d17cfeac27a16b8e34ce6685e.tar.gz
ruby-cfa37fe1085ae30d17cfeac27a16b8e34ce6685e.tar.xz
ruby-cfa37fe1085ae30d17cfeac27a16b8e34ce6685e.zip
* 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
Diffstat (limited to 'io.c')
-rw-r--r--io.c4
1 files changed, 4 insertions, 0 deletions
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 <syscall.h>
+#endif
+
#include <unistd.h>
#endif