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 | 972e93de97c5992f7697668951cda902c9426fbb (patch) | |
tree | 16a1ee3b35c2ab748d20061f7ccbe281c161b322 /io.c | |
parent | a6872b50a52da2a5bfbd42e14436becf1a300ae1 (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/branches/ruby_1_8@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_UNISTD_H #ifdef HAVE_SYSCALL_H #include <syscall.h> +#elif defined HAVE_SYS_SYSCALL_H +#include <sys/syscall.h> #endif #include <unistd.h> |