summaryrefslogtreecommitdiff
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
commit9401edfe229e14635be9d480473f63b4cbf0a580 (patch)
treeb6f172c054b85293861ba999715bb367f8e1ecf9 /io.c
parentbb1338082246be60aec645e3686d34c8ca407eda (diff)
* 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: svn+ssh://ci.ruby-lang.org/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 0d97b16e6a..58634bbc58 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