diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-04 02:32:19 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-04 02:32:19 +0000 |
commit | d04697df8814b6161f87e597a615e7773f6f1f78 (patch) | |
tree | 0848264ba4996e481023c09dc004a840a63792e4 /include/ruby | |
parent | e9ddb1a1f965d830ec26c808be9fcacacedf6844 (diff) | |
download | ruby-d04697df8814b6161f87e597a615e7773f6f1f78.tar.gz |
* include/ruby/missing.h: define __syscall on OpenBSD as r32702.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby')
-rw-r--r-- | include/ruby/missing.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ruby/missing.h b/include/ruby/missing.h index bded5521d1..e3adc5ce4e 100644 --- a/include/ruby/missing.h +++ b/include/ruby/missing.h @@ -51,8 +51,8 @@ struct timezone { }; #endif -#if defined(HAVE___SYSCALL) && defined(__APPLE__) -/* Mac OS X has __syscall but doen't defined in headers */ +#if defined(HAVE___SYSCALL) && (defined(__APPLE__) || defined(__OpenBSD__)) +/* Mac OS X and OpenBSD has __syscall but doen't defined in headers */ off_t __syscall(quad_t number, ...); #endif |