From 2eab8e570ba2a198fdfa0208c886b1e39945d39b Mon Sep 17 00:00:00 2001
From: Justin Carpentier <justin.carpentier@laas.fr>
Date: Tue, 14 Oct 2014 14:21:53 +0200
Subject: [PATCH] Modify include sequence in order to prevent compilations
 error

---
 src/angle-axis.hpp | 3 ++-
 src/details.hpp    | 2 +-
 src/exception.hpp  | 2 +-
 src/fwd.hpp        | 2 +-
 src/map.hpp        | 2 +-
 5 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/angle-axis.hpp b/src/angle-axis.hpp
index 764001a2..e3811e51 100644
--- a/src/angle-axis.hpp
+++ b/src/angle-axis.hpp
@@ -17,9 +17,10 @@
 #ifndef __eigenpy_angle_axis_hpp__
 #define __eigenpy_angle_axis_hpp__
 
+#include <boost/python.hpp>
 #include <Eigen/Core>
 #include <Eigen/Geometry>
-#include <boost/python.hpp>
+
 #include "eigenpy/eigenpy.hpp"
 
 namespace eigenpy
diff --git a/src/details.hpp b/src/details.hpp
index cd16d8f4..5b5c5463 100644
--- a/src/details.hpp
+++ b/src/details.hpp
@@ -17,8 +17,8 @@
 #ifndef __eigenpy_details_hpp__
 #define __eigenpy_details_hpp__
 
-#include <Eigen/Core>
 #include <boost/python.hpp>
+#include <Eigen/Core>
 
 #pragma GCC diagnostic error "-pedantic" // Alas only work for g++ 4.8
 #include <numpy/arrayobject.h>
diff --git a/src/exception.hpp b/src/exception.hpp
index db676f51..96702c90 100644
--- a/src/exception.hpp
+++ b/src/exception.hpp
@@ -14,9 +14,9 @@
  * with eigenpy.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <boost/python.hpp>
 #include <exception>
 #include <string>
-#include <boost/python.hpp>
 
 #ifndef __eigenpy_Exception_hpp__
 #define __eigenpy_Exception_hpp__
diff --git a/src/fwd.hpp b/src/fwd.hpp
index 7622f518..b137f1df 100644
--- a/src/fwd.hpp
+++ b/src/fwd.hpp
@@ -17,8 +17,8 @@
 #ifndef __eigenpy_fwd_hpp__
 #define __eigenpy_fwd_hpp__
 
-#include <Eigen/Core>
 #include <boost/python.hpp>
+#include <Eigen/Core>
 
 namespace eigenpy
 {
diff --git a/src/map.hpp b/src/map.hpp
index 86384b4e..6d574949 100644
--- a/src/map.hpp
+++ b/src/map.hpp
@@ -14,8 +14,8 @@
  * with eigenpy.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <Eigen/Core>
 #include <boost/python.hpp>
+#include <Eigen/Core>
 #include <numpy/arrayobject.h>
 #include <eigenpy/exception.hpp>
 
-- 
GitLab