diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/missing.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ruby/missing.h b/include/ruby/missing.h index 067145a156..5309fe9466 100644 --- a/include/ruby/missing.h +++ b/include/ruby/missing.h @@ -51,6 +51,11 @@ struct timezone { }; #endif +#if defined(HAVE___SYSCALL) && !defined(__syscall) +/* Mac OS X has __syscall but doen't defined in headers */ +off_t __syscall(quad_t number, ...); +#endif + #ifdef RUBY_EXPORT #undef RUBY_EXTERN #endif |