summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-01-26 07:49:00 +0100
committerDavid Tardon <dtardon@redhat.com>2011-01-26 07:49:00 +0100
commit22f6062545c9dbe8bba96cf22482869dc85cfa5b (patch)
treefcacc073f0ed6b10494f02ef6cc9dbb718429ea0
parent0043c9690342c34ff3132bfaeab9375e05033ac3 (diff)
fix build with system ODBC
-rw-r--r--dbaccess/source/ui/dlg/odbcconfig.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/dbaccess/source/ui/dlg/odbcconfig.cxx b/dbaccess/source/ui/dlg/odbcconfig.cxx
index 7f6860cde..b4115cac3 100644
--- a/dbaccess/source/ui/dlg/odbcconfig.cxx
+++ b/dbaccess/source/ui/dlg/odbcconfig.cxx
@@ -36,7 +36,11 @@
// with the solar.h stuff (which itself already clashes with <windows.h>).
#define ULONG ODBC_ULONG
+#ifdef SYSTEM_ODBC_HEADERS
+#include <sqltypes.h>
+#else
#include <odbc/sqltypes.h>
+#endif
#undef ULONG
#undef BOOL