summaryrefslogtreecommitdiff
path: root/numpy/linalg/lapack_lite/python_xerbla.c
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2021-09-01 18:22:05 -0600
committerCharles Harris <charlesr.harris@gmail.com>2021-09-03 10:35:29 -0600
commita3e2b7c46d4c4025f4945e3e3ea207a00a63c499 (patch)
tree9d4048f5be195b965b211e603a674da13c7225c6 /numpy/linalg/lapack_lite/python_xerbla.c
parentc6ac4dab50dad3ee0936fb4b765cf4f441874d33 (diff)
downloadnumpy-a3e2b7c46d4c4025f4945e3e3ea207a00a63c499.tar.gz
MAIN: Minor include rationalization.
- Replace "Python.h" by <Python.h> - Replace "structmember.h" by <structmember.h> - Replace <npy_config> by "npy_config" - Define PY_SSIZE_T_CLEAN before all Python.h includes in .c files.
Diffstat (limited to 'numpy/linalg/lapack_lite/python_xerbla.c')
-rw-r--r--numpy/linalg/lapack_lite/python_xerbla.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/numpy/linalg/lapack_lite/python_xerbla.c b/numpy/linalg/lapack_lite/python_xerbla.c
index fe2f718b2..37a41408b 100644
--- a/numpy/linalg/lapack_lite/python_xerbla.c
+++ b/numpy/linalg/lapack_lite/python_xerbla.c
@@ -1,4 +1,6 @@
-#include "Python.h"
+#define PY_SSIZE_T_CLEAN
+#include <Python.h>
+
#include "numpy/npy_common.h"
#include "npy_cblas.h"