summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/src/multiarray/buffer.c1
-rw-r--r--numpy/core/src/multiarray/ctors.c2
-rw-r--r--numpy/core/src/multiarray/scalarapi.c2
3 files changed, 5 insertions, 0 deletions
diff --git a/numpy/core/src/multiarray/buffer.c b/numpy/core/src/multiarray/buffer.c
index 99fe48b54..fdf71135f 100644
--- a/numpy/core/src/multiarray/buffer.c
+++ b/numpy/core/src/multiarray/buffer.c
@@ -12,6 +12,7 @@
#include "npy_3kcompat.h"
#include "buffer.h"
+#include "numpyos.h"
/*************************************************************************
**************** Implement Buffer Protocol ****************************
diff --git a/numpy/core/src/multiarray/ctors.c b/numpy/core/src/multiarray/ctors.c
index 4dc169f90..3aa4c60db 100644
--- a/numpy/core/src/multiarray/ctors.c
+++ b/numpy/core/src/multiarray/ctors.c
@@ -17,6 +17,8 @@
#include "ctors.h"
+#include "buffer.h"
+
#include "numpymemoryview.h"
/*
diff --git a/numpy/core/src/multiarray/scalarapi.c b/numpy/core/src/multiarray/scalarapi.c
index 690e36063..8107780f9 100644
--- a/numpy/core/src/multiarray/scalarapi.c
+++ b/numpy/core/src/multiarray/scalarapi.c
@@ -17,6 +17,8 @@
#include "descriptor.h"
#include "scalartypes.h"
+#include "common.h"
+
static PyArray_Descr *
_descr_from_subtype(PyObject *type)
{