summaryrefslogtreecommitdiff
path: root/include/ruby/missing.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/missing.h')
-rw-r--r--include/ruby/missing.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/ruby/missing.h b/include/ruby/missing.h
index d553f1c738e..4a900326323 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