summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2011-03-29 11:13:09 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-03-29 11:13:09 +0200
commitcb7cff8bca85fc4acd6e41acff70d9abe7b1084e (patch)
tree4097e900d979abf3e336b5984262c2d148f27115
parentb6702790cda29c6b2e7b5ed24fe2a4e2110cf021 (diff)
Fix desktop build on windows
-rwxr-xr-xdesktop/prj/build.lst2
-rwxr-xr-xdesktop/source/app/appsys.cxx2
-rwxr-xr-xdesktop/source/app/lockfile.cxx2
-rw-r--r--desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx3
4 files changed, 8 insertions, 1 deletions
diff --git a/desktop/prj/build.lst b/desktop/prj/build.lst
index 90a276264e..2686c91d56 100755
--- a/desktop/prj/build.lst
+++ b/desktop/prj/build.lst
@@ -23,7 +23,7 @@ dt desktop\win32\source\QuickStart\so nmake - w dt_win32_quickstart_so dt_win32_
dt desktop\os2\source\applauncher nmake - p dt_applauncher dt_inc NULL
dt desktop\unx\source\officeloader nmake - u dt_officeloader_unx dt_inc NULL
dt desktop\unx\source nmake - u dt_uwrapper dt_pagein dt_inc NULL
-dt desktop\source\pagein nmake - all dt_pagein dt_inc NULL
+dt desktop\source\pagein nmake - u dt_pagein dt_inc NULL
dt desktop\source\pkgchk\unopkg nmake - all dt_unopkg dt_dp_misc dt_app dt_inc dt_guiloader.w NULL
dt desktop\unx\splash nmake - u dt_usplash dt_pagein.u dt_inc NULL
dt desktop\source\deployment nmake - all dt_deployment dt_dp_manager dt_dp_registry dt_dp_registry_package dt_dp_registry_executable dt_dp_registry_help dt_dp_registry_script dt_dp_registry_sfwk dt_dp_registry_component dt_dp_registry_configuration dt_dp_unopkg dt_inc dt_dp_misc NULL
diff --git a/desktop/source/app/appsys.cxx b/desktop/source/app/appsys.cxx
index d28ddaeb99..e2856d5b72 100755
--- a/desktop/source/app/appsys.cxx
+++ b/desktop/source/app/appsys.cxx
@@ -37,6 +37,8 @@
#include <tools/solar.h>
#include <tools/urlobj.hxx>
+#include <windows.h>
+
#define U2S(STRING) ::rtl::OUStringToOString(STRING, RTL_TEXTENCODING_UTF8)
diff --git a/desktop/source/app/lockfile.cxx b/desktop/source/app/lockfile.cxx
index 9819c2422f..8ac41ce99a 100755
--- a/desktop/source/app/lockfile.cxx
+++ b/desktop/source/app/lockfile.cxx
@@ -32,6 +32,8 @@
#include <time.h>
#ifndef WNT
#include <unistd.h>
+#else
+#include <windows.h>
#endif
#include <sal/types.h>
#include <osl/file.hxx>
diff --git a/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx b/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx
index 9696a95e41..973e430bd3 100644
--- a/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx
+++ b/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx
@@ -102,7 +102,10 @@
#endif
#ifdef WNT
+#define GradientStyle_RECT BLA_GradientStyle_RECT
+#include <windows.h>
#include <objbase.h>
+#undef GradientStyle_RECT
#endif