dd4da116195551c07c891f1b27865b238cc486f8
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / log4cxx / 0002-missing-includes.patch
1 commit bcaf1f8a682d641cee325142099c371464fd5946
2 Author: Curtis William Arnold <carnold@apache.org>
3 Date:   Tue May 20 16:05:37 2008 +0000
4
5     LOGCXX-286: gcc 4.3 requires #include <cstring>
6     
7     git-svn-id: https://svn.apache.org/repos/asf/logging/log4cxx/trunk@658304 13f79535-47bb-0310-9956-ffa450edef68
8
9 diff --git a/src/examples/cpp/console.cpp b/src/examples/cpp/console.cpp
10 index 6a01d8a..a673a10 100755
11 --- a/src/examples/cpp/console.cpp
12 +++ b/src/examples/cpp/console.cpp
13 @@ -22,6 +22,7 @@
14  #include <log4cxx/logmanager.h>
15  #include <iostream>
16  #include <locale.h>
17 +#include <cstring>
18  
19  using namespace log4cxx;
20  using namespace log4cxx::helpers;
21 diff --git a/src/main/cpp/inputstreamreader.cpp b/src/main/cpp/inputstreamreader.cpp
22 index 52b1c0a..cb45181 100644
23 --- a/src/main/cpp/inputstreamreader.cpp
24 +++ b/src/main/cpp/inputstreamreader.cpp
25 @@ -20,6 +20,7 @@
26  #include <log4cxx/helpers/exception.h>
27  #include <log4cxx/helpers/pool.h>
28  #include <log4cxx/helpers/bytebuffer.h>
29 +#include <cstring>
30  
31  using namespace log4cxx;
32  using namespace log4cxx::helpers;
33 diff --git a/src/main/cpp/socketoutputstream.cpp b/src/main/cpp/socketoutputstream.cpp
34 index 185f835..c61eb11 100644
35 --- a/src/main/cpp/socketoutputstream.cpp
36 +++ b/src/main/cpp/socketoutputstream.cpp
37 @@ -19,6 +19,7 @@
38  #include <log4cxx/helpers/socketoutputstream.h>
39  #include <log4cxx/helpers/socket.h>
40  #include <log4cxx/helpers/bytebuffer.h>
41 +#include <cstring>
42  
43  using namespace log4cxx;
44  using namespace log4cxx::helpers;