--- a/mercurial/cext/charencode.c Mon Jul 31 22:28:27 2017 +0900 +++ b/mercurial/cext/charencode.c Sun May 21 14:23:22 2017 +0900 @@ -9,6 +9,7 @@ #include <Python.h> +#include "charencode.h" #include "util.h" static const char lowertable[128] = {