summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2009-12-06 12:06:49 +0000
committerPauli Virtanen <pav@iki.fi>2009-12-06 12:06:49 +0000
commitbbdeda175356c0d3d03b25db90149caa097dcb11 (patch)
tree3b38563516d275390908a5b4d802b013e0c79ccb
parent686f1b98cdef9562e1e00b4ee4c3957acdbf7c19 (diff)
downloadnumpy-bbdeda175356c0d3d03b25db90149caa097dcb11.tar.gz
3K: core: include npy_config in _sort
-rw-r--r--numpy/core/src/_sortmodule.c.src3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/core/src/_sortmodule.c.src b/numpy/core/src/_sortmodule.c.src
index cd9c6c277..709a26a1c 100644
--- a/numpy/core/src/_sortmodule.c.src
+++ b/numpy/core/src/_sortmodule.c.src
@@ -31,6 +31,8 @@
#include "numpy/noprefix.h"
#include "numpy/npy_math.h"
+#include "npy_config.h"
+
#define NOT_USED NPY_UNUSED(unused)
#define PYA_QS_STACK 100
#define SMALL_QUICKSORT 15
@@ -988,7 +990,6 @@ static struct PyMethodDef methods[] = {
};
-
#if defined(NPY_PY3K)
static struct PyModuleDef moduledef = {
PyModuleDef_HEAD_INIT,