summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui')
-rw-r--r--dbaccess/source/ui/dlg/ConnectionHelper.cxx8
-rw-r--r--dbaccess/source/ui/dlg/ConnectionPage.cxx8
2 files changed, 10 insertions, 6 deletions
diff --git a/dbaccess/source/ui/dlg/ConnectionHelper.cxx b/dbaccess/source/ui/dlg/ConnectionHelper.cxx
index 58335c5cd230..16e4b51da212 100644
--- a/dbaccess/source/ui/dlg/ConnectionHelper.cxx
+++ b/dbaccess/source/ui/dlg/ConnectionHelper.cxx
@@ -155,9 +155,11 @@
#endif
#ifdef _ADO_DATALINK_BROWSE_
-typedef void* HWND;
-typedef void* HMENU;
-typedef void* HDC;
+#if defined( WNT )
+ #include <tools/prewin.h>
+ #include <windows.h>
+ #include <tools/postwin.h>
+#endif
#ifndef _SV_SYSDATA_HXX
#include <vcl/sysdata.hxx>
#endif
diff --git a/dbaccess/source/ui/dlg/ConnectionPage.cxx b/dbaccess/source/ui/dlg/ConnectionPage.cxx
index 24d7a62d149b..135dd3b07b92 100644
--- a/dbaccess/source/ui/dlg/ConnectionPage.cxx
+++ b/dbaccess/source/ui/dlg/ConnectionPage.cxx
@@ -161,9 +161,11 @@
#endif
#ifdef _ADO_DATALINK_BROWSE_
-typedef void* HWND;
-typedef void* HMENU;
-typedef void* HDC;
+#if defined( WNT )
+ #include <tools/prewin.h>
+ #include <windows.h>
+ #include <tools/postwin.h>
+#endif
#ifndef _SV_SYSDATA_HXX
#include <vcl/sysdata.hxx>
#endif