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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ruby/missing.h b/include/ruby/missing.h
index bed633d379..abbd2bf870 100644
--- a/include/ruby/missing.h
+++ b/include/ruby/missing.h
@@ -19,6 +19,9 @@ extern "C" {
#endif
#include "ruby/config.h"
+#if defined(HAVE_STDDEF_H)
+# include <stddef.h>
+#endif
#ifdef RUBY_EXTCONF_H
#include RUBY_EXTCONF_H
#endif
@@ -50,6 +53,9 @@ struct timezone {
};
#endif
+#ifdef RUBY_EXPORT
+#undef RUBY_EXTERN
+#endif
#ifndef RUBY_EXTERN
#define RUBY_EXTERN extern
#endif