< Previous by Date | Date Index | Next by Date > |
Thread Index |
Hi, Trying to build Resiprocate 1.4.1 using GCC 4.3 revealed a few build errors due to missing #includes in Netxx. Here's a patch: diff -r 02558528acb3 tfm/contrib/Netxx-0.3.2/src/Address.cxx --- a/tfm/contrib/Netxx-0.3.2/src/Address.cxx Mon Nov 24 00:13:34 2008 +0000 +++ b/tfm/contrib/Netxx-0.3.2/src/Address.cxx Mon Nov 24 00:16:13 2008 +0000 @@ -57,6 +57,7 @@ // standard includes #include <cstdlib> +#include <cstring> namespace { const char const_local_service[] = "local"; diff -r 02558528acb3 tfm/contrib/Netxx-0.3.2/src/Datagram.cxx --- a/tfm/contrib/Netxx-0.3.2/src/Datagram.cxx Mon Nov 24 00:13:34 2008 +0000 +++ b/tfm/contrib/Netxx-0.3.2/src/Datagram.cxx Mon Nov 24 00:16:13 2008 +0000 @@ -64,6 +64,7 @@ #include <memory> #include <cstring> #include <vector> +#include <cstdlib> namespace { void call_connect(Netxx::Socket &socket, const Netxx::Peer &peer, std::vector<std::string> &files); diff -r 02558528acb3 tfm/contrib/Netxx-0.3.2/src/Peer.cxx --- a/tfm/contrib/Netxx-0.3.2/src/Peer.cxx Mon Nov 24 00:13:34 2008 +0000 +++ b/tfm/contrib/Netxx-0.3.2/src/Peer.cxx Mon Nov 24 00:16:13 2008 +0000 @@ -58,6 +58,7 @@ #include <iostream> #include <cstdlib> #include <new> +#include <cstring> //#################################################################### namespace { diff -r 02558528acb3 tfm/contrib/Netxx-0.3.2/src/Probe_select.cxx --- a/tfm/contrib/Netxx-0.3.2/src/Probe_select.cxx Mon Nov 24 00:13:34 2008 +0000 +++ b/tfm/contrib/Netxx-0.3.2/src/Probe_select.cxx Mon Nov 24 00:16:13 2008 +0000 @@ -63,6 +63,7 @@ #include <string> #include <list> #include <set> +#include <cstring> //#################################################################### namespace { Max.
Attachment:
signature.asc
Description: OpenPGP digital signature