boost: bump to version 1.63.0
[buildroot-gz.git] / package / log4cxx / 0002-missing-includes.patch
blobdd4da116195551c07c891f1b27865b238cc486f8
1 commit bcaf1f8a682d641cee325142099c371464fd5946
2 Author: Curtis William Arnold <carnold@apache.org>
3 Date: Tue May 20 16:05:37 2008 +0000
5 LOGCXX-286: gcc 4.3 requires #include <cstring>
7 git-svn-id: https://svn.apache.org/repos/asf/logging/log4cxx/trunk@658304 13f79535-47bb-0310-9956-ffa450edef68
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>
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>
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>
43 using namespace log4cxx;
44 using namespace log4cxx::helpers;