diff --git a/include/eigenpy/fwd.hpp b/include/eigenpy/fwd.hpp
index bb8a1913c57f105d35f6aa21cbf3a76d1bb8f1cf..35ea8732de5d3fdcec9ee125d4f3a44c8c1bec05 100644
--- a/include/eigenpy/fwd.hpp
+++ b/include/eigenpy/fwd.hpp
@@ -104,6 +104,7 @@ namespace bp = boost::python;
 #define EIGENPY_NO_ALIGNMENT_VALUE Eigen::Unaligned
 
 #define EIGENPY_UNUSED_VARIABLE(var) (void)(var)
+#define EIGENPY_UNUSED_TYPE(type) (type *)(NULL)
 
 #ifdef EIGENPY_WITH_CXX11_SUPPORT
 #include <memory>