aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sources/shiboken6/libshiboken/sbknumpy.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/shiboken6/libshiboken/sbknumpy.cpp b/sources/shiboken6/libshiboken/sbknumpy.cpp
index c71ee8ee4..060a2b6f4 100644
--- a/sources/shiboken6/libshiboken/sbknumpy.cpp
+++ b/sources/shiboken6/libshiboken/sbknumpy.cpp
@@ -7,6 +7,7 @@
# include <numpy/arrayobject.h>
#endif
+#include "helper.h"
#include "sbknumpycheck.h"
#include "sbkcpptonumpy.h"
#include "sbknumpyview.h"
@@ -21,6 +22,7 @@ bool check(PyObject *pyIn)
#ifdef HAVE_NUMPY
return PyArray_Check(pyIn);
#else
+ SBK_UNUSED(pyIn);
return false;
#endif
}