Skip to content
Snippets Groups Projects
Commit 15635d8b authored by Gregory Szorc's avatar Gregory Szorc
Browse files

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!
parent 5f7151e6
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,7 @@
#include "bdiff.h"
#include "bitmanipulation.h"
#include "util.h"
static PyObject *blocks(PyObject *self, PyObject *args)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment