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