summaryrefslogtreecommitdiff
path: root/numpy/linalg/lapack_lite
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2021-09-03 12:27:37 -0600
committerGitHub <noreply@github.com>2021-09-03 12:27:37 -0600
commit410a89ef04a2d3c50dd2dba2ad403c872c3745ac (patch)
treee348d96fffa65e5f5a243ec83b2e4e6ed8d16145 /numpy/linalg/lapack_lite
parent644c55e04fef551690f2f6ca70099d1297ab5c23 (diff)
parenta3e2b7c46d4c4025f4945e3e3ea207a00a63c499 (diff)
downloadnumpy-410a89ef04a2d3c50dd2dba2ad403c872c3745ac.tar.gz
Merge pull request #19810 from charris/update-some-includes
MAINT: Minor include rationalizations.
Diffstat (limited to 'numpy/linalg/lapack_lite')
-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"