• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/log4cxx/0002-missing-includes.patch
Peter KorsgaardPeter Korsgaard committed 298cd8eaa2103 Feb 2015
Raw file
Source viewDiff to previous
 
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;
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.