summaryrefslogtreecommitdiffstats
path: root/connectivity/source
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-01-25 14:42:34 +0100
committerDavid Tardon <dtardon@redhat.com>2011-01-25 14:45:50 +0100
commit96b6b643159577beb756b2f1baa441f93d067628 (patch)
tree10539ae323c9e197834448aefdefbfb5da9e4c9c /connectivity/source
parentcheck for exact pos. of the inner "-" (diff)
downloadcore-96b6b643159577beb756b2f1baa441f93d067628.tar.gz
core-96b6b643159577beb756b2f1baa441f93d067628.zip
fix build with system ODBC
Diffstat (limited to 'connectivity/source')
-rw-r--r--connectivity/source/drivers/adabas/BDriver.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/connectivity/source/drivers/adabas/BDriver.cxx b/connectivity/source/drivers/adabas/BDriver.cxx
index fc50f24d4156..d0184ad20c44 100644
--- a/connectivity/source/drivers/adabas/BDriver.cxx
+++ b/connectivity/source/drivers/adabas/BDriver.cxx
@@ -30,7 +30,11 @@
#include "precompiled_connectivity.hxx"
#include <tools/solar.h>
#define ULONG ODBC_ULONG
+#ifdef SYSTEM_ODBC_HEADERS
+#include <sqltypes.h>
+#else
#include <odbc/sqltypes.h>
+#endif
#undef ULONG
#undef BOOL
#include <unotools/tempfile.hxx>