summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-21 05:28:25 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-21 05:28:25 +0000
commita0e3fe5d7cf067bbca1cba92f471e98e6527d138 (patch)
treedf6be67314ec08e081fe21ff23f9fc3936fa2b4f
parent8b7999406ef47af49a8004f054d1bfc4aff3226f (diff)
* strftime.c: include ruby/config.h instead of ruby/ruby.h.
* common.mk: removed the old rule for missing/strftime.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog6
-rw-r--r--common.mk1
-rw-r--r--strftime.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index abfe4783a4..8cf86b1bf1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Thu Aug 21 14:22:50 2008 Shugo Maeda <shugo@ruby-lang.org>
+
+ * strftime.c: include ruby/config.h instead of ruby/ruby.h.
+
+ * common.mk: removed the old rule for missing/strftime.c.
+
Thu Aug 21 09:29:01 2008 Shugo Maeda <shugo@ruby-lang.org>
* strftime.c (rb_strftime): return "UTC" instead of "GMT".
diff --git a/common.mk b/common.mk
index 8f55681e1e..5b7eefdead 100644
--- a/common.mk
+++ b/common.mk
@@ -413,7 +413,6 @@ mkdir.$(OBJEXT): {$(VPATH)}mkdir.c
strchr.$(OBJEXT): {$(VPATH)}strchr.c
strdup.$(OBJEXT): {$(VPATH)}strdup.c
strerror.$(OBJEXT): {$(VPATH)}strerror.c
-strftime.$(OBJEXT): {$(VPATH)}strftime.c
strstr.$(OBJEXT): {$(VPATH)}strstr.c
strtod.$(OBJEXT): {$(VPATH)}strtod.c
strtol.$(OBJEXT): {$(VPATH)}strtol.c
diff --git a/strftime.c b/strftime.c
index 28c9527140..811173cd7b 100644
--- a/strftime.c
+++ b/strftime.c
@@ -45,7 +45,7 @@
* January 1996
*/
-#include "ruby/ruby.h"
+#include "ruby/config.h"
#ifndef GAWK
#include <stdio.h>