blob: b8fa7b19c415240956d609435d51cc914731bee3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
From 23525d212572f4b4703d3a2f73a8ef768bd77ce4 Mon Sep 17 00:00:00 2001
From: Peter Alfredsen <loki_val@gentoo.org>
Date: Fri, 23 Jan 2009 23:46:35 +0100
Subject: [PATCH 09/10] Fix C++ gcc-4.3 tests
---
src/cpp/test/server_abyss.cpp | 3 ++-
src/cpp/test/server_pstream.cpp | 2 +-
src/cpp/test/test.cpp | 1 +
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/cpp/test/server_abyss.cpp b/src/cpp/test/server_abyss.cpp
index 4b236ef..2e09068 100644
--- a/src/cpp/test/server_abyss.cpp
+++ b/src/cpp/test/server_abyss.cpp
@@ -5,7 +5,8 @@
=============================================================================*/
#include <errno.h>
-#include <string>
+#include <cstring>
+#include <cstdlib>
#include <iostream>
#include <vector>
#include <sstream>
diff --git a/src/cpp/test/server_pstream.cpp b/src/cpp/test/server_pstream.cpp
index 83b3e88..f04808a 100644
--- a/src/cpp/test/server_pstream.cpp
+++ b/src/cpp/test/server_pstream.cpp
@@ -8,7 +8,7 @@
#include <sys/socket.h>
#include <arpa/inet.h>
#include <errno.h>
-#include <string>
+#include <cstring>
#include <fcntl.h>
#include "xmlrpc-c/girerr.hpp"
diff --git a/src/cpp/test/test.cpp b/src/cpp/test/test.cpp
index 8a58089..68c90e6 100644
--- a/src/cpp/test/test.cpp
+++ b/src/cpp/test/test.cpp
@@ -5,6 +5,7 @@
#include <sstream>
#include <memory>
#include <time.h>
+#include <cstring>
#include "xmlrpc-c/girerr.hpp"
using girerr::error;
--
1.6.1
|