summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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