Permalink
Browse files

vigranumpy: change include ordering (Python.h must be first)

  • Loading branch information...
1 parent 306779d commit 1c0364f4bea7d01046d50ff2cbf97193b0fc1689 @ukoethe ukoethe committed Mar 29, 2012
@@ -35,6 +35,7 @@
#define PY_ARRAY_UNIQUE_SYMBOL vigranumpycore_PyArray_API
#define NO_IMPORT_ARRAY
+
#include <vigra/numpy_array.hxx>
#include <vigra/numpy_array_converters.hxx>
#include <boost/python.hpp>
@@ -36,8 +36,8 @@
#define PY_ARRAY_UNIQUE_SYMBOL vigranumpyfilters_PyArray_API
#define NO_IMPORT_ARRAY
-#include <vigra/config.hxx>
#include <Python.h>
+#include <vigra/config.hxx>
#include <boost/python.hpp>
#include <vigra/numpy_array.hxx>
#include <vigra/numpy_array_converters.hxx>
@@ -36,8 +36,8 @@
#define PY_ARRAY_UNIQUE_SYMBOL vigranumpyfilters_PyArray_API
#define NO_IMPORT_ARRAY
-#include <vigra/config.hxx>
#include <Python.h>
+#include <vigra/config.hxx>
#include <iostream>
#include <boost/python.hpp>
#include <vigra/numpy_array.hxx>
@@ -35,8 +35,8 @@
#define PY_ARRAY_UNIQUE_SYMBOL vigranumpycore_PyArray_API
-#include <vigra/config.hxx>
#include <Python.h>
+#include <vigra/config.hxx>
#include <iostream>
#include <boost/python.hpp>
#include <vigra/numpy_array.hxx>
@@ -34,8 +34,9 @@
/************************************************************************/
#define PY_ARRAY_UNIQUE_SYMBOL vigranumpyfourier_PyArray_API
-#include <vigra/config.hxx>
+
#include <Python.h>
+#include <vigra/config.hxx>
#include <boost/python.hpp>
#include <vigra/numpy_array.hxx>
#include <vigra/multi_array.hxx>

0 comments on commit 1c0364f

Please sign in to comment.