aboutsummaryrefslogtreecommitdiffstats
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
commit0ccc5dbe83218c981261240c4973d42919bf6d29 (patch)
tree444f73d4b5daa94c8a1f6de4020660dac89742e6 /io.c
parentee499a8745c36e36ab9ce6ea619525b496b6bb42 (diff)
downloadruby-0ccc5dbe83218c981261240c4973d42919bf6d29.tar.gz
* 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/trunk@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 c7bb72cbd6..5c7fc39c98 100644
--- a/io.c
+++ b/io.c
@@ -72,6 +72,10 @@
#include <unistd.h>
#endif
+#ifdef HAVE_SYSCALL_H
+#include <syscall.h>
+#endif
+
extern void Init_File(void);
#ifdef __BEOS__