libreoffice/804-gcc-4.3-postgresql.diff

88 lines
3.2 KiB
Diff

---
.../drivers/postgresql/pq_preparedstatement.cxx | 2 ++
.../drivers/postgresql/pq_resultsetmetadata.cxx | 1 +
.../source/drivers/postgresql/pq_statement.cxx | 1 +
.../source/drivers/postgresql/pq_statics.cxx | 2 ++
.../source/drivers/postgresql/pq_tools.cxx | 1 +
.../drivers/postgresql/pq_updateableresultset.cxx | 2 ++
6 files changed, 9 insertions(+), 0 deletions(-)
diff --git connectivity/source/drivers/postgresql/pq_preparedstatement.cxx connectivity/source/drivers/postgresql/pq_preparedstatement.cxx
index 1d66a8a..5fadf16 100644
--- connectivity/source/drivers/postgresql/pq_preparedstatement.cxx
+++ connectivity/source/drivers/postgresql/pq_preparedstatement.cxx
@@ -77,6 +77,8 @@
#include <com/sun/star/sdbc/ResultSetConcurrency.hpp>
#include <com/sun/star/sdbc/ResultSetType.hpp>
+#include <string.h>
+
using osl::Mutex;
using osl::MutexGuard;
diff --git connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx
index d351b4c..1c7b768 100644
--- connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx
+++ connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx
@@ -69,6 +69,7 @@
#include <com/sun/star/sdbc/ColumnValue.hpp>
#include <com/sun/star/sdbc/XRow.hpp>
+#include <string.h>
using osl::Mutex;
using osl::MutexGuard;
diff --git connectivity/source/drivers/postgresql/pq_statement.cxx connectivity/source/drivers/postgresql/pq_statement.cxx
index b60edfc..086cd22 100644
--- connectivity/source/drivers/postgresql/pq_statement.cxx
+++ connectivity/source/drivers/postgresql/pq_statement.cxx
@@ -86,6 +86,7 @@
#include <com/sun/star/container/XIndexAccess.hpp>
#include <com/sun/star/container/XEnumerationAccess.hpp>
+#include <string.h>
using osl::Mutex;
using osl::MutexGuard;
diff --git connectivity/source/drivers/postgresql/pq_statics.cxx connectivity/source/drivers/postgresql/pq_statics.cxx
index 177571d..71fbbff 100644
--- connectivity/source/drivers/postgresql/pq_statics.cxx
+++ connectivity/source/drivers/postgresql/pq_statics.cxx
@@ -64,6 +64,8 @@
#include <com/sun/star/sdbc/DataType.hpp>
#include <com/sun/star/beans/PropertyAttribute.hpp>
+#include <string.h>
+
using rtl::OUString;
using com::sun::star::uno::Sequence;
using com::sun::star::uno::Any;
diff --git connectivity/source/drivers/postgresql/pq_tools.cxx connectivity/source/drivers/postgresql/pq_tools.cxx
index c6b16e0..1f91984 100644
--- connectivity/source/drivers/postgresql/pq_tools.cxx
+++ connectivity/source/drivers/postgresql/pq_tools.cxx
@@ -16,6 +16,7 @@
#include "pq_statics.hxx"
#include <libpq-fe.h>
+#include <string.h>
using rtl::OUString;
using rtl::OUStringBuffer;
diff --git connectivity/source/drivers/postgresql/pq_updateableresultset.cxx connectivity/source/drivers/postgresql/pq_updateableresultset.cxx
index 7efa005..6793373 100644
--- connectivity/source/drivers/postgresql/pq_updateableresultset.cxx
+++ connectivity/source/drivers/postgresql/pq_updateableresultset.cxx
@@ -12,6 +12,8 @@
#include "pq_tools.hxx"
#include "pq_statics.hxx"
+#include <string.h>
+
using osl::MutexGuard;
using rtl::OUString;
--
1.7.0.1