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
commit7bf43f57e8834314a5678f78f680e69fc780c592 (patch)
treeefce84a5a51b1d377709130f12ac54001cf58a43
parent6173c9154f2ed642f0bec2b68b9d303ac6b54662 (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 70fbe4e440..3db46ed555 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>