diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-24 12:15:26 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-24 12:15:26 +0000 |
commit | 141666b1e2738844532266a81be5c6438ee6e400 (patch) | |
tree | 95b8bc93f1ce19a4843f563a71a7ea5bdc18151d /io.c | |
parent | c90f3b2d90885b36ec82b0803eaf59de2eb81a47 (diff) | |
download | ruby-141666b1e2738844532266a81be5c6438ee6e400.tar.gz |
* 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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |