cext: fix compiler error in revlog.c on Windows with py2
authorMatt Harbison <matt_harbison@yahoo.com>
Sat, 16 Jan 2021 20:15:10 -0500
changeset 46317 d0225a22040c
parent 46316 6ee9bd69ff7f
child 46318 e74274fc1b35
cext: fix compiler error in revlog.c on Windows with py2 Visual Studio 2008 doesn't have <stdint.h>, and we worked around it before with this header. Differential Revision: https://phab.mercurial-scm.org/D9804
mercurial/cext/revlog.c
--- a/mercurial/cext/revlog.c	Sat Jan 16 01:02:03 2021 +0100
+++ b/mercurial/cext/revlog.c	Sat Jan 16 20:15:10 2021 -0500
@@ -13,10 +13,10 @@
 #include <ctype.h>
 #include <limits.h>
 #include <stddef.h>
-#include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 
+#include "compat.h"
 #include "bitmanipulation.h"
 #include "charencode.h"
 #include "revlog.h"