aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-05-18 21:38:39 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-05-18 21:38:39 +0000
commit976e71f75c55cb4f75000dcebd2fafaff1d70858 (patch)
tree1ea2c3244b61fff9ad1c097d21721c1dc8cb6749
parent0ab32ea49c0d1509b848664ae859c6e28e2c0441 (diff)
downloadpaludis-976e71f75c55cb4f75000dcebd2fafaff1d70858.tar.gz
paludis-976e71f75c55cb4f75000dcebd2fafaff1d70858.tar.xz
Fix g++-4.3 compiles
-rw-r--r--paludis/util/output_wrapper.cc1
-rw-r--r--paludis/util/virtual_constructor_TEST.cc2
2 files changed, 2 insertions, 1 deletions
diff --git a/paludis/util/output_wrapper.cc b/paludis/util/output_wrapper.cc
index 90b5585..0fb7914 100644
--- a/paludis/util/output_wrapper.cc
+++ b/paludis/util/output_wrapper.cc
@@ -22,6 +22,7 @@
#include <unistd.h>
#include <errno.h>
#include <stdio.h>
+#include <cstdlib>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/select.h>
diff --git a/paludis/util/virtual_constructor_TEST.cc b/paludis/util/virtual_constructor_TEST.cc
index b11ea40..f1c5818 100644
--- a/paludis/util/virtual_constructor_TEST.cc
+++ b/paludis/util/virtual_constructor_TEST.cc
@@ -49,7 +49,7 @@ namespace
Cookie(CookieSize sz) :
_size(sz)
{
- };
+ }
public:
virtual std::string flavour() const = 0;