From 842ccc23bae9f99a5300d60201b495938965e6c6 Mon Sep 17 00:00:00 2001
From: Guilhem Saurel <guilhem.saurel@laas.fr>
Date: Fri, 13 Sep 2019 13:50:57 +0200
Subject: [PATCH]  include pinocchio before boost

ref https://github.com/stack-of-tasks/pinocchio/issues/849
---
 include/sot/core/device.hh     | 2 ++
 include/sot/core/robot-simu.hh | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/include/sot/core/device.hh b/include/sot/core/device.hh
index f81de5ed..fe1e6693 100644
--- a/include/sot/core/device.hh
+++ b/include/sot/core/device.hh
@@ -13,6 +13,8 @@
 /* --- INCLUDE --------------------------------------------------------- */
 /* --------------------------------------------------------------------- */
 
+#include <pinocchio/fwd.hpp>
+
 /* -- MaaL --- */
 #include <dynamic-graph/linear-algebra.h>
 namespace dg = dynamicgraph;
diff --git a/include/sot/core/robot-simu.hh b/include/sot/core/robot-simu.hh
index 60a8b56c..2c3da3e7 100644
--- a/include/sot/core/robot-simu.hh
+++ b/include/sot/core/robot-simu.hh
@@ -13,6 +13,8 @@
 /* --- INCLUDE --------------------------------------------------------- */
 /* --------------------------------------------------------------------- */
 
+#include <pinocchio/fwd.hpp>
+
 /* -- MaaL --- */
 #include <dynamic-graph/linear-algebra.h>
 namespace dg = dynamicgraph;
-- 
GitLab