diff --git a/include/eigenpy/fwd.hpp b/include/eigenpy/fwd.hpp
index 50a796e4ab634c070d09ab9b81e00571ec64416f..506a1d93a2b055b7914a59f8b2a784cef1ab8560 100644
--- a/include/eigenpy/fwd.hpp
+++ b/include/eigenpy/fwd.hpp
@@ -22,6 +22,8 @@
 
 #define EIGENPY_NO_ALIGNMENT_VALUE Eigen::Unaligned
 
+#define EIGENPY_UNUSED_VARIABLE(var) (void)(var)
+
 #include "eigenpy/expose.hpp"
 
 namespace eigenpy