diff --git a/Modules/Core/Common/test/otbConfigurationManagerTest.cxx b/Modules/Core/Common/test/otbConfigurationManagerTest.cxx
index 54649eb20be4fa8b4f3167edcd1f1d137e1158c0..7737ac23c125a1bbb392c20739ec8d9ff801d04a 100644
--- a/Modules/Core/Common/test/otbConfigurationManagerTest.cxx
+++ b/Modules/Core/Common/test/otbConfigurationManagerTest.cxx
@@ -16,6 +16,7 @@
 
 =========================================================================*/
 #include <iostream>
+#include <cstdlib>
 #include "otbConfigurationManager.h"
 
 int otbConfigurationManagerTest(int argc, char * argv[])
@@ -32,7 +33,7 @@ int otbConfigurationManagerTest(int argc, char * argv[])
 
   std::string refDEMDir = (argc>2)?argv[2]:"";
   std::string refGeoidFile = (argc>3)?argv[3]:"";
- 
+
   otb::ConfigurationManager::RAMValueType maxRam = otb::ConfigurationManager::GetMaxRAMHint();
 
   std::cout<<"GetMaxRAMHint(): "<<maxRam<<std::endl;