summaryrefslogtreecommitdiff
path: root/desktop
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
commitf721cbd66a317fdf0b9e73f683e3e5c4c62b3e41 (patch)
tree1f74aad4fd144db993356a1152007c30e01f7177 /desktop
parent1eb3e17796fbcc67422a0c3ae0a45dbd1209ce76 (diff)
Fix desktop build on windows
Diffstat (limited to 'desktop')
-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 90a276264ec3..2686c91d5667 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 066fede0bd40..47c7778e56e1 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 577efd4edb5c..72632bdb5e27 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 2e85cea27bfb..96a279f481a2 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