diff options
Diffstat (limited to 'numpy/core/src/dummymodule.c')
-rw-r--r-- | numpy/core/src/dummymodule.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/numpy/core/src/dummymodule.c b/numpy/core/src/dummymodule.c index e26875736..a58b48839 100644 --- a/numpy/core/src/dummymodule.c +++ b/numpy/core/src/dummymodule.c @@ -4,12 +4,13 @@ * This is a dummy module whose purpose is to get distutils to generate the * configuration files before the libraries are made. */ +#define PY_SSIZE_T_CLEAN +#include <Python.h> #define NPY_NO_DEPRECATED_API NPY_API_VERSION #define NO_IMPORT_ARRAY -#include <Python.h> -#include <npy_pycompat.h> +#include "npy_pycompat.h" static struct PyMethodDef methods[] = { {NULL, NULL, 0, NULL} |