diff --git a/src/graph/edge.cc b/src/graph/edge.cc
index a80a229c1f69b3f89696fdee12f675274aa9b6bf..a6361a036969e85b9eb681a707694a80a4c62335 100644
--- a/src/graph/edge.cc
+++ b/src/graph/edge.cc
@@ -18,7 +18,7 @@
 
 #include <hpp/core/straight-path.hh>
 #include <hpp/core/path-vector.hh>
-#include <hpp/core/differentiable-function.hh>
+#include <hpp/constraints/differentiable-function.hh>
 
 #include <hpp/util/pointer.hh>