summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/libpqpp/files/libpqpp-4.0-gcc-4.3.patch')
-rw-r--r--dev-cpp/libpqpp/files/libpqpp-4.0-gcc-4.3.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-cpp/libpqpp/files/libpqpp-4.0-gcc-4.3.patch b/dev-cpp/libpqpp/files/libpqpp-4.0-gcc-4.3.patch
new file mode 100644
index 000000000000..5004557eefdc
--- /dev/null
+++ b/dev-cpp/libpqpp/files/libpqpp-4.0-gcc-4.3.patch
@@ -0,0 +1,13 @@
+gcc-4.3 no longer includes this by default.
+
+--- libpq++-4.0/pgdatabase.cc
++++ libpq++-4.0/pgdatabase.cc
+@@ -15,6 +15,8 @@
+ *-------------------------------------------------------------------------
+ */
+
++#include <cstdlib>
++
+ #include "pgdatabase.h"
+
+ #ifdef HAVE_NAMESPACE_STD