summaryrefslogtreecommitdiff
path: root/numpy/core/src/arrayobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core/src/arrayobject.c')
-rw-r--r--numpy/core/src/arrayobject.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/numpy/core/src/arrayobject.c b/numpy/core/src/arrayobject.c
index befd8b27e..e8d6dc541 100644
--- a/numpy/core/src/arrayobject.c
+++ b/numpy/core/src/arrayobject.c
@@ -33,6 +33,11 @@ maintainer email: oliphant.travis@ieee.org
#include "arrayobject.h"
#include "arraydescr.h"
#include "arrayiterators.h"
+#ifndef Py_UNICODE_WIDE
+#include "ucsnarrow.h"
+#endif
+
+
/*NUMPY_API
* Get Priority from object
@@ -545,11 +550,6 @@ copy_and_swap(void *dst, void *src, int itemsize, intp numitems,
}
-#ifndef Py_UNICODE_WIDE
-#include "ucsnarrow.c"
-#endif
-
-
NPY_NO_EXPORT PyArray_Descr **userdescrs=NULL;