summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--include/ruby/st.h13
-rw-r--r--version.h6
3 files changed, 21 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 1d9dacf969..aad92f1f13 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Dec 11 11:11:03 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * include/ruby/st.h (size_t): needs stddef.h or stdlib.h.
+ [ruby-core:20339]
+
Wed Dec 10 01:28:46 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* common.mk (win32.obj): depend on headers.
diff --git a/include/ruby/st.h b/include/ruby/st.h
index 84ef72b440..31bac7b1ad 100644
--- a/include/ruby/st.h
+++ b/include/ruby/st.h
@@ -12,6 +12,19 @@ extern "C" {
#endif
#endif
+#ifndef RUBY_LIB
+#include "ruby/config.h"
+#ifdef RUBY_EXTCONF_H
+#include RUBY_EXTCONF_H
+#endif
+#endif
+
+#if defined STDC_HEADERS
+#include <stddef.h>
+#elif defined HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+
#if SIZEOF_LONG == SIZEOF_VOIDP
typedef unsigned long st_data_t;
#elif SIZEOF_LONG_LONG == SIZEOF_VOIDP
diff --git a/version.h b/version.h
index aa90d21e7c..55ab8a0e37 100644
--- a/version.h
+++ b/version.h
@@ -1,7 +1,7 @@
#define RUBY_VERSION "1.9.1"
-#define RUBY_RELEASE_DATE "2008-12-10"
+#define RUBY_RELEASE_DATE "2008-12-11"
#define RUBY_VERSION_CODE 191
-#define RUBY_RELEASE_CODE 20081210
+#define RUBY_RELEASE_CODE 20081211
#define RUBY_PATCHLEVEL 0
#define RUBY_VERSION_MAJOR 1
@@ -9,7 +9,7 @@
#define RUBY_VERSION_TEENY 1
#define RUBY_RELEASE_YEAR 2008
#define RUBY_RELEASE_MONTH 12
-#define RUBY_RELEASE_DAY 10
+#define RUBY_RELEASE_DAY 11
#ifdef RUBY_EXTERN
RUBY_EXTERN const char ruby_version[];