diff --git a/src/intersect.cpp b/src/intersect.cpp
index 1002ed983394ccdd21b774c8ccd59a895d678eb5..21c8c4b6851b4e0ecfc78ff945f0286014e040fd 100644
--- a/src/intersect.cpp
+++ b/src/intersect.cpp
@@ -35,7 +35,7 @@
 
 /** \author Jia Pan */
 
-#include <hpp/fcl/intersect.h>
+#include "intersect.h"
 #include <iostream>
 #include <limits>
 #include <vector>
diff --git a/include/hpp/fcl/intersect.h b/src/intersect.h
similarity index 100%
rename from include/hpp/fcl/intersect.h
rename to src/intersect.h
diff --git a/src/narrowphase/gjk.cpp b/src/narrowphase/gjk.cpp
index 54393566d0b73cfc2fe548c6be4aeb8cf204654a..b2beb6528df1fb5759f20275d9dfc51f62ec9c78 100644
--- a/src/narrowphase/gjk.cpp
+++ b/src/narrowphase/gjk.cpp
@@ -36,7 +36,7 @@
 /** \author Jia Pan */
 
 #include <hpp/fcl/narrowphase/gjk.h>
-#include <hpp/fcl/intersect.h>
+#include "../intersect.h"
 #include "../math/tools.h"
 
 namespace hpp
diff --git a/src/narrowphase/narrowphase.cpp b/src/narrowphase/narrowphase.cpp
index 619c77c95f2c458e191e5b9c00ed9770815a0726..f0b29a7270df353702081fcd2ae819fb332fcc34 100644
--- a/src/narrowphase/narrowphase.cpp
+++ b/src/narrowphase/narrowphase.cpp
@@ -37,7 +37,7 @@
 
 #include <hpp/fcl/narrowphase/narrowphase.h>
 #include <hpp/fcl/shape/geometric_shapes_utility.h>
-#include <hpp/fcl/intersect.h>
+#include "../intersect.h"
 #include <boost/math/constants/constants.hpp>
 #include <vector>
 #include "../src/narrowphase/details.h"
diff --git a/src/traversal/traversal_node_bvhs.h b/src/traversal/traversal_node_bvhs.h
index f0ca5d16bcfa147f61cf389698eef3a20ab356e9..b35e9783846d6618b792e8f6a3dd6828adc1d3e6 100644
--- a/src/traversal/traversal_node_bvhs.h
+++ b/src/traversal/traversal_node_bvhs.h
@@ -44,7 +44,7 @@
 #include <hpp/fcl/BV/BV_node.h>
 #include <hpp/fcl/BV/BV.h>
 #include <hpp/fcl/BVH/BVH_model.h>
-#include <hpp/fcl/intersect.h>
+#include "../intersect.h"
 #include <hpp/fcl/shape/geometric_shapes.h>
 #include <hpp/fcl/narrowphase/narrowphase.h>
 #include "details/traversal.h"
diff --git a/test/math.cpp b/test/math.cpp
index fb872745fa3a2641ca5f58d1f63bfa6e0dd45915..87062cb9e864194d55c639086e2db6305809a9de 100644
--- a/test/math.cpp
+++ b/test/math.cpp
@@ -42,7 +42,7 @@
 #include <hpp/fcl/data_types.h>
 #include <hpp/fcl/math/transform.h>
 
-#include <hpp/fcl/intersect.h>
+#include "../src/intersect.h"
 #include "../src/math/tools.h"
 
 using namespace hpp::fcl;
diff --git a/test/simple.cpp b/test/simple.cpp
index 725f6ac657d43743e8a668afdc36f9428d962979..67ccd8699ec559fabc498f58ff6b3da59368c207 100644
--- a/test/simple.cpp
+++ b/test/simple.cpp
@@ -3,7 +3,7 @@
 #include <boost/test/unit_test.hpp>
 #include <boost/utility/binary.hpp>
 
-#include <hpp/fcl/intersect.h>
+#include "../src/intersect.h"
 #include <hpp/fcl/collision.h>
 #include <hpp/fcl/BVH/BVH_model.h>
 #include "fcl_resources/config.h"