--- apache-log4cxx-0.10.0/src/examples/cpp/console.cpp 2008-04-01 00:34:52.000000000 +0200 +++ apache-log4cxx-0.10.0/src/examples/cpp/console.cpp 2013-04-16 12:59:03.149931476 +0200 @@ -15,7 +15,9 @@ * limitations under the License. */ +#include <stdio.h> #include <stdlib.h> +#include <string.h> #include <log4cxx/logger.h> #include <log4cxx/consoleappender.h> #include <log4cxx/simplelayout.h>