--- src/main/cpp/stringhelper.cpp 2008-04-01 00:34:09.000000000 +0200 +++ src/main/cpp/stringhelper.cpp 2013-11-22 11:27:50.000000000 +0100 @@ -28,6 +28,7 @@ #endif #include <log4cxx/private/log4cxx_private.h> #include <cctype> +#include <cstdlib> #include <apr.h> --- src/main/include/log4cxx/helpers/simpledateformat.h 2008-04-01 00:34:26.000000000 +0200 +++ src/main/include/log4cxx/helpers/simpledateformat.h 2013-11-22 11:27:27.000000000 +0100 @@ -27,10 +27,9 @@ #include <log4cxx/helpers/dateformat.h> #include <vector> +#include <locale> #include <time.h> -namespace std { class locale; } - namespace log4cxx { namespace helpers