xmlrpc-c/gcc43.patch

50 lines
1.5 KiB
Diff
Raw Normal View History

From f40f0ff70302a90c7a41aecfafd67d2652fd2177 Mon Sep 17 00:00:00 2001
2008-02-26 21:48:23 +00:00
From: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Date: Tue, 26 Feb 2008 22:45:15 +0100
Subject: [PATCH] gcc43
---
examples/cpp/pstream_client.cpp | 1 +
src/cpp/packetsocket.cpp | 1 +
tools/xmlrpc_cpp_proxy/xmlrpc_cpp_proxy.cpp | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
2008-02-26 21:48:23 +00:00
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>
2008-02-26 21:48:23 +00:00
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"
2008-02-26 21:48:23 +00:00
--
1.5.4.1