summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-15 05:57:30 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-15 05:57:30 +0000
commit89fb3746ac8558053a203e570a7aa5ab36a517fc (patch)
treea4fee59aee8cdc728eb18ca8c3b9a48171d6f432
parent75a1d33bcfe767724e883737da9c9d5c3a031e17 (diff)
localeinit.c: encindex.h
* localeinit.c: needs encindex.h for ENCINDEX_US_ASCII and ENCINDEX_ASCII. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--common.mk1
-rw-r--r--localeinit.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index 21f7784..cd28bf5 100644
--- a/common.mk
+++ b/common.mk
@@ -1652,6 +1652,7 @@ localeinit.$(OBJEXT): $(hdrdir)/ruby/ruby.h
localeinit.$(OBJEXT): $(top_srcdir)/include/ruby.h
localeinit.$(OBJEXT): {$(VPATH)}config.h
localeinit.$(OBJEXT): {$(VPATH)}defines.h
+localeinit.$(OBJEXT): {$(VPATH)}encindex.h
localeinit.$(OBJEXT): {$(VPATH)}encoding.h
localeinit.$(OBJEXT): {$(VPATH)}intern.h
localeinit.$(OBJEXT): {$(VPATH)}internal.h
diff --git a/localeinit.c b/localeinit.c
index c83bf7e..c4dda81 100644
--- a/localeinit.c
+++ b/localeinit.c
@@ -10,6 +10,7 @@
**********************************************************************/
#include "internal.h"
+#include "encindex.h"
#ifdef __CYGWIN__
#include <windows.h>
#endif