diff options
Diffstat (limited to 'include/ruby/missing.h')
-rw-r--r-- | include/ruby/missing.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/ruby/missing.h b/include/ruby/missing.h index d553f1c738..4a90032632 100644 --- a/include/ruby/missing.h +++ b/include/ruby/missing.h @@ -38,6 +38,13 @@ struct timespec { }; #endif +#if !defined(HAVE_STRUCT_TIMEZONE) +struct timezone { + int tz_minuteswest; + int tz_dsttime; +}; +#endif + #ifndef RUBY_EXTERN #define RUBY_EXTERN extern #endif |