*/
#ifndef _WINDOWS_H
#define _WINDOWS_H
-#if __GNUC__ >=3
-#pragma GCC system_header
-#endif
#ifdef __GNUC__
#include <msvctarget.h>
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
-#if !(defined NOGDI || defined _WINGDI_H)
#include <wingdi.h>
-#endif
-#include <wincon.h>
-#ifndef _WINUSER_H
#include <winuser.h>
-#endif
+#include <wincon.h>
#ifndef _WINNLS_H
#include <winnls.h>
#endif
#include <rpc.h>
#include <shellapi.h>
#include <winperf.h>
+#ifndef NOCRYPT
+#include <wincrypt.h>
+#include <winefs.h>
+#include <winscard.h>
+#endif
#ifndef NOGDI
#include <commdlg.h>
#include <winspool.h>
#endif
#ifndef NOGDI
#if !defined (__OBJC__)
-#if (__GNUC__ >= 3) || defined (__WATCOMC__)
+#if (defined(__GNUC__) && (__GNUC__ >= 3)) || defined (__WATCOMC__) || defined(_MSC_VER)
#include <ole2.h>
#endif
#endif /* __OBJC__ */