[Numpy-svn] r8193 - trunk/numpy/core/src/multiarray

numpy-svn@scip... numpy-svn@scip...
Sat Feb 20 12:21:48 CST 2010


Author: ptvirtan
Date: 2010-02-20 12:21:48 -0600 (Sat, 20 Feb 2010)
New Revision: 8193

Modified:
   trunk/numpy/core/src/multiarray/buffer.c
   trunk/numpy/core/src/multiarray/ctors.c
   trunk/numpy/core/src/multiarray/scalarapi.c
Log:
BUG: fix a few missing includes that may cause problems on 64-bit

Modified: trunk/numpy/core/src/multiarray/buffer.c
===================================================================
--- trunk/numpy/core/src/multiarray/buffer.c	2010-02-20 18:21:29 UTC (rev 8192)
+++ trunk/numpy/core/src/multiarray/buffer.c	2010-02-20 18:21:48 UTC (rev 8193)
@@ -12,6 +12,7 @@
 #include "npy_3kcompat.h"
 
 #include "buffer.h"
+#include "numpyos.h"
 
 /*************************************************************************
  ****************   Implement Buffer Protocol ****************************

Modified: trunk/numpy/core/src/multiarray/ctors.c
===================================================================
--- trunk/numpy/core/src/multiarray/ctors.c	2010-02-20 18:21:29 UTC (rev 8192)
+++ trunk/numpy/core/src/multiarray/ctors.c	2010-02-20 18:21:48 UTC (rev 8193)
@@ -17,6 +17,8 @@
 
 #include "ctors.h"
 
+#include "buffer.h"
+
 #include "numpymemoryview.h"
 
 /*

Modified: trunk/numpy/core/src/multiarray/scalarapi.c
===================================================================
--- trunk/numpy/core/src/multiarray/scalarapi.c	2010-02-20 18:21:29 UTC (rev 8192)
+++ trunk/numpy/core/src/multiarray/scalarapi.c	2010-02-20 18:21:48 UTC (rev 8193)
@@ -17,6 +17,8 @@
 #include "descriptor.h"
 #include "scalartypes.h"
 
+#include "common.h"
+
 static PyArray_Descr *
 _descr_from_subtype(PyObject *type)
 {



More information about the Numpy-svn mailing list