summaryrefslogtreecommitdiffstats
path: root/sal/osl/w32/dllentry.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/osl/w32/dllentry.cxx')
-rw-r--r--sal/osl/w32/dllentry.cxx14
1 files changed, 4 insertions, 10 deletions
diff --git a/sal/osl/w32/dllentry.cxx b/sal/osl/w32/dllentry.cxx
index 0bce302e935a..bc575ac5b7d8 100644
--- a/sal/osl/w32/dllentry.cxx
+++ b/sal/osl/w32/dllentry.cxx
@@ -17,19 +17,13 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifdef _MSC_VER
-#pragma warning(push,1) /* disable warnings within system headers */
-#endif
-#include <windows.h>
-#ifdef _MSC_VER
-#pragma warning(pop)
+#include <systools/win32/uwinapi.h>
+#include <tlhelp32.h>
+#include <rpc.h>
+#include <winsock.h>
#ifdef _DEBUG
#include <crtdbg.h>
#endif
-#endif
-#include <tlhelp32.h>
-#include <systools/win32/uwinapi.h>
-#include <winsock.h>
#include <osl/diagnose.h>
#include <sal/types.h>
#include <float.h>