diff --git a/src/graph-path-validation.cc b/src/graph-path-validation.cc
index 710b16c9b2d44619abec1dc34061a5836228e8a9..080e2087f5e6031a91d9ff1d169dbb868d638545 100644
--- a/src/graph-path-validation.cc
+++ b/src/graph-path-validation.cc
@@ -21,6 +21,7 @@
 #include <hpp/core/path.hh>
 #include <hpp/core/path-vector.hh>
 
+#include <hpp/manipulation/graph/state.hh>
 #include <hpp/manipulation/graph/edge.hh>
 #include <hpp/manipulation/graph/graph.hh>
 #include <hpp/manipulation/constraint-set.hh>