xmlrpc-c/gcc43.patch
2008-02-26 22:15:19 +00:00

63 lines
1.9 KiB
Diff

From 9f1b75c40a43b197bfd85f92f72d977c4567bfc6 Mon Sep 17 00:00:00 2001
From: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Date: Tue, 26 Feb 2008 22:45:15 +0100
Subject: [PATCH] gcc43
---
examples/cpp/asynch_client.cpp | 1 +
examples/cpp/pstream_client.cpp | 1 +
src/cpp/packetsocket.cpp | 1 +
tools/xmlrpc_cpp_proxy/xmlrpc_cpp_proxy.cpp | 1 +
4 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/examples/cpp/asynch_client.cpp b/examples/cpp/asynch_client.cpp
index c5060d3..52dc3d1 100644
--- a/examples/cpp/asynch_client.cpp
+++ b/examples/cpp/asynch_client.cpp
@@ -9,6 +9,7 @@
=============================================================================*/
#include <cassert>
+#include <cstdlib>
#include <string>
#include <iostream>
#include <xmlrpc-c/girerr.hpp>
diff --git a/examples/cpp/pstream_client.cpp b/examples/cpp/pstream_client.cpp
index ec1a808..43e5700 100644
--- a/examples/cpp/pstream_client.cpp
+++ b/examples/cpp/pstream_client.cpp
@@ -16,6 +16,7 @@
=============================================================================*/
#include <cassert>
+#include <cstdlib>
#include <string>
#include <iostream>
#include <unistd.h>
diff --git a/src/cpp/packetsocket.cpp b/src/cpp/packetsocket.cpp
index 4dd8567..2e314bc 100644
--- a/src/cpp/packetsocket.cpp
+++ b/src/cpp/packetsocket.cpp
@@ -53,6 +53,7 @@
#include <iostream>
#include <sstream>
#include <cstdio>
+#include <cstdlib>
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
diff --git a/tools/xmlrpc_cpp_proxy/xmlrpc_cpp_proxy.cpp b/tools/xmlrpc_cpp_proxy/xmlrpc_cpp_proxy.cpp
index fefae80..7ec8a47 100644
--- a/tools/xmlrpc_cpp_proxy/xmlrpc_cpp_proxy.cpp
+++ b/tools/xmlrpc_cpp_proxy/xmlrpc_cpp_proxy.cpp
@@ -1,5 +1,6 @@
#include <iostream>
#include <stdexcept>
+#include <cstdlib>
#include "xmlrpcType.hpp"
#include "xmlrpcMethod.hpp"
--
1.5.4.1