Skip to content
This repository was archived by the owner on Nov 28, 2025. It is now read-only.

Commit 35f3a25

Browse files
committed
module.hh: include pinocchio/fwd if pinocchio is used
1 parent c1eb804 commit 35f3a25

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

include/dynamic-graph/python/module.hh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
#ifndef DYNAMIC_GRAPH_PYTHON_MODULE_HH
22
#define DYNAMIC_GRAPH_PYTHON_MODULE_HH
33

4+
#ifdef PINOCCHIO_WITH_URDFDOM
5+
// If pinocchio is used, we have to include pinocchio header before boost mpl
6+
#include <pinocchio/fwd.hpp>
7+
#endif
8+
49
#include <boost/python.hpp>
510
#include <boost/mpl/for_each.hpp>
611

0 commit comments

Comments
 (0)