diff -r e9996bd7203f -r 0f4ac3b6dee4 mercurial/cext/manifest.c --- a/mercurial/cext/manifest.c Mon Jul 31 22:28:27 2017 +0900 +++ b/mercurial/cext/manifest.c Sun May 21 14:23:22 2017 +0900 @@ -12,6 +12,7 @@ #include #include +#include "charencode.h" #include "util.h" #define DEFAULT_LINES 100000 @@ -38,9 +39,6 @@ #define MANIFEST_NOT_SORTED -2 #define MANIFEST_MALFORMED -3 -/* defined in charencode.c */ -PyObject *unhexlify(const char *str, int len); - /* get the length of the path for a line */ static size_t pathlen(line *l) { return strlen(l->start);