changeset 30170:15635d8b17e0

bdiff: include util.h Without this, IS_PY3K isn't define and the preprocessor uses the incorrect module loading code, causing the module fail to load at run-time. After this patch, all our C extensions (except for watchman's) appear to import correctly in Python 3!
author Gregory Szorc <gregory.szorc@gmail.com>
date Thu, 13 Oct 2016 13:27:14 +0200
parents 5f7151e6de85
children 7a3b59f0329a
files mercurial/bdiff_module.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/bdiff_module.c	Thu Oct 13 13:22:40 2016 +0200
+++ b/mercurial/bdiff_module.c	Thu Oct 13 13:27:14 2016 +0200
@@ -17,6 +17,7 @@
 
 #include "bdiff.h"
 #include "bitmanipulation.h"
+#include "util.h"
 
 
 static PyObject *blocks(PyObject *self, PyObject *args)