diff --git a/include/eigenpy/fwd.hpp b/include/eigenpy/fwd.hpp
index 6aaf67eb2503f563c3dd0b935cdb27ef4d085e1e..c511b569097978a51e659340a5fb13ddacfdac44 100644
--- a/include/eigenpy/fwd.hpp
+++ b/include/eigenpy/fwd.hpp
@@ -65,6 +65,7 @@
 #define EIGENPY_DOCUMENTATION_END_IGNORE    /// \endcond
 
 #include "eigenpy/config.hpp"
+#include <boost/type_traits/is_base_of.hpp>
 
 // Silence a warning about a deprecated use of boost bind by boost python
 // at least fo boost 1.73 to 1.75