summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-15 06:03:37 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-15 06:03:37 +0000
commit9c9d555e7f93ef232b42b3e8528df0ce5ac4faa3 (patch)
treeea720ef283521638280224c8c8878e13539991f9
parent89fb3746ac8558053a203e570a7aa5ab36a517fc (diff)
win32.c: encindex.h
* win32/win32.c: needs encindex.h for encoding indexes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--common.mk2
-rw-r--r--win32/win32.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index cd28bf5..542e286 100644
--- a/common.mk
+++ b/common.mk
@@ -711,7 +711,7 @@ prelude.$(OBJEXT): {$(VPATH)}prelude.c
compile.$(OBJEXT): {$(VPATH)}opt_sc.inc {$(VPATH)}optunifs.inc
win32/win32.$(OBJEXT): {$(VPATH)}win32/win32.c {$(VPATH)}win32/file.h \
- {$(VPATH)}dln.h {$(VPATH)}dln_find.c \
+ {$(VPATH)}dln.h {$(VPATH)}dln_find.c {$(VPATH)}encindex.h \
{$(VPATH)}internal.h {$(VPATH)}util.h $(RUBY_H_INCLUDES) $(PLATFORM_D)
win32/file.$(OBJEXT): {$(VPATH)}win32/file.c {$(VPATH)}win32/file.h {$(VPATH)}thread.h \
$(RUBY_H_INCLUDES) $(PLATFORM_D)
diff --git a/win32/win32.c b/win32/win32.c
index 32e77c0..c3e8ce1 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -52,6 +52,7 @@
#include "win32/dir.h"
#include "win32/file.h"
#include "internal.h"
+#include "encindex.h"
#define isdirsep(x) ((x) == '/' || (x) == '\\')
#if defined _MSC_VER && _MSC_VER <= 1200