LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File log4cpp_inclusion_fixes.patch of Package log4cpp (Project home:lihaso:Cloud:Testing)

--- log4cpp-1.0/src/BasicLayout.cpp	2006-09-30 08:03:20.000000000 +0200
+++ log4cpp-1.0_fixed/src/BasicLayout.cpp	2009-01-13 10:47:32.000000000 +0100
@@ -11,6 +11,8 @@
 #include <log4cpp/BasicLayout.hh>
 #include <log4cpp/Priority.hh>
 #include <log4cpp/FactoryParams.hh>
+#include <memory>
+
 #ifdef LOG4CPP_HAVE_SSTREAM
 #include <sstream>
 #endif
--- log4cpp-1.0/src/PatternLayout.cpp	2007-08-28 09:54:12.000000000 +0200
+++ log4cpp-1.0_fixed/src/PatternLayout.cpp	2009-01-13 10:45:53.000000000 +0100
@@ -14,6 +14,7 @@
 #include <log4cpp/TimeStamp.hh>
 #include <log4cpp/FactoryParams.hh>
 #include <memory>
+#include <cstdlib>
 
 #ifdef LOG4CPP_HAVE_SSTREAM
 #include <sstream>