summaryrefslogtreecommitdiff
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
parentfb7934efa28b18d13d88d2df87f3cf1a3fb043b8 (diff)
fix build with system ODBC
-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>