diff options
Diffstat (limited to 'desktop/source/app/sofficemain.cxx')
-rw-r--r-- | desktop/source/app/sofficemain.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop/source/app/sofficemain.cxx b/desktop/source/app/sofficemain.cxx index 2a692fdae8d4..917361ebf0d3 100644 --- a/desktop/source/app/sofficemain.cxx +++ b/desktop/source/app/sofficemain.cxx @@ -28,6 +28,9 @@ #include "cmdlineargs.hxx" #include "cmdlinehelp.hxx" +// needed before sal/main.h to avoid redefinition of macros +#include <prewin.h> + #include <desktop/exithelper.h> #include <osl/file.hxx> #include <rtl/bootstrap.hxx> @@ -62,6 +65,7 @@ #endif +#include <postwin.h> #ifdef ANDROID # include <jni.h> |