summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2010-02-20 18:21:48 +0000
committerPauli Virtanen <pav@iki.fi>2010-02-20 18:21:48 +0000
commit5e88c324b6597b939f451ddba0b053e5db10286a (patch)
treef70a31905f45dcf90d3fd19610b795d44b675660
parente5a6c98662b0eb6631aa406d981bc0e27888369f (diff)
downloadnumpy-5e88c324b6597b939f451ddba0b053e5db10286a.tar.gz
BUG: fix a few missing includes that may cause problems on 64-bit
-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)
{