diff --git a/src/portability/gettimeofday.cc b/src/portability/gettimeofday.cc
index f41103560caad59b7f23aac5606e859e5f1af44e..d0a7fdffdc232a0d73c4b56bf058f48e0b75fa8b 100644
--- a/src/portability/gettimeofday.cc
+++ b/src/portability/gettimeofday.cc
@@ -23,7 +23,7 @@
  *  Joint Japanese-French Robotics Laboratory (JRL)
  */
 #ifdef WIN32
-# include <TimeUtilsWindows.h>
+# include "gettimeofday.hh"
 
 # include <Windows.h>
 # if defined(_MSC_VER) || defined(_MSC_EXTENSIONS)
diff --git a/tests/CommonTools.cpp b/tests/CommonTools.cpp
index fd3739ae506f1614456301808bd8702f4e8c56f2..a96de2fb524739aa226b2c5fe56a83f8bf27d2c4 100644
--- a/tests/CommonTools.cpp
+++ b/tests/CommonTools.cpp
@@ -30,7 +30,7 @@
 
 #ifdef WIN32
 #include <Windows.h>
-#include "TimeUtilsWindows.h"
+#include "portability/gettimeofday.hh"
 #endif /*WIN32*/
 
 
diff --git a/tests/CommonTools.h b/tests/CommonTools.h
index 793b68f38535bc20f431f0f6047bf28e2f30cbbb..a45457c4fe9b608c5ba1ffb9a847235e6a35d3a2 100644
--- a/tests/CommonTools.h
+++ b/tests/CommonTools.h
@@ -28,7 +28,7 @@
 
 #ifdef WIN32
 #include <Windows.h>
-#include "TimeUtilsWindows.h"
+#include "portability/gettimeofday.hh"
 #endif /*WIN32*/
 
 #include <time.h>
diff --git a/tests/TestObject.h b/tests/TestObject.h
index 5663491074bcdac7f58e79e2635cafc06e483080..2788a83ef6e542e377ab6c6e0f52301b79642be6 100644
--- a/tests/TestObject.h
+++ b/tests/TestObject.h
@@ -34,7 +34,7 @@
 
 #ifdef WIN32
 #include <Windows.h>
-#include "TimeUtilsWindows.h"
+#include "portability/gettimeofday.hh"
 #endif /*WIN32*/
 
 #include <ostream>