diff --git a/Testing/Code/Projections/otbGenericMapProjection.cxx b/Testing/Code/Projections/otbGenericMapProjection.cxx
index fa14279087c1339fd25156bed8271a2dea9240c3..8ee5817e0b5f927b08394a7538cbd36d9e051e71 100644
--- a/Testing/Code/Projections/otbGenericMapProjection.cxx
+++ b/Testing/Code/Projections/otbGenericMapProjection.cxx
@@ -19,8 +19,6 @@
 #include <fstream>
 #include <iomanip>
 
-#include "otbMacro.h"
-#include "otbImage.h"
 #include "otbGenericMapProjection.h"
 
 int otbGenericMapProjection(int argc, char* argv[])