summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-10-24 12:15:26 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-10-24 12:15:26 +0000
commit141666b1e2738844532266a81be5c6438ee6e400 (patch)
tree95b8bc93f1ce19a4843f563a71a7ea5bdc18151d /io.c
parentc90f3b2d90885b36ec82b0803eaf59de2eb81a47 (diff)
* configure.in, io.c: use sys/syscall.h if syscall.h is not available.
[ruby-core:06247] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/io.c b/io.c
index 5c7fc39c98..addebc3607 100644
--- a/io.c
+++ b/io.c
@@ -74,6 +74,8 @@
#ifdef HAVE_SYSCALL_H
#include <syscall.h>
+#elif defined HAVE_SYS_SYSCALL_H
+#include <sys/syscall.h>
#endif
extern void Init_File(void);