diff --git a/modules/rostests/apitests/advapi32/precomp.h b/modules/rostests/apitests/advapi32/precomp.h index 503d9564656..a009b9676d2 100644 --- a/modules/rostests/apitests/advapi32/precomp.h +++ b/modules/rostests/apitests/advapi32/precomp.h @@ -1,6 +1,10 @@ #ifndef _ADVAPI32_APITEST_PRECOMP_H_ #define _ADVAPI32_APITEST_PRECOMP_H_ +#define WIN32_NO_STATUS +#define _INC_WINDOWS +#define COM_NO_WINDOWS_H + #include #include #include diff --git a/modules/rostests/apitests/com/com_apitest.c b/modules/rostests/apitests/com/com_apitest.c index 7f72b0b8352..1add9839b0e 100644 --- a/modules/rostests/apitests/com/com_apitest.c +++ b/modules/rostests/apitests/com/com_apitest.c @@ -7,6 +7,7 @@ #include "com_apitest.h" +#include #include #include #include diff --git a/modules/rostests/apitests/com/com_apitest.h b/modules/rostests/apitests/com/com_apitest.h index f841e581217..8820da294d6 100644 --- a/modules/rostests/apitests/com/com_apitest.h +++ b/modules/rostests/apitests/com/com_apitest.h @@ -16,11 +16,16 @@ * we usually don't want to be that strict */ //#define FAIL_WRONG_OFFSET -#define COBJMACROS #define WIN32_NO_STATUS +#define _INC_WINDOWS +#define COM_NO_WINDOWS_H +#define COBJMACROS #include +#include +#include +#include #include #include #include diff --git a/modules/rostests/apitests/gdi32/precomp.h b/modules/rostests/apitests/gdi32/precomp.h index a0331e74a79..ad6ebda215d 100644 --- a/modules/rostests/apitests/gdi32/precomp.h +++ b/modules/rostests/apitests/gdi32/precomp.h @@ -1,6 +1,10 @@ #ifndef _GDI32_APITEST_PRECOMP_H_ #define _GDI32_APITEST_PRECOMP_H_ +#define WIN32_NO_STATUS +#define _INC_WINDOWS +#define COM_NO_WINDOWS_H + #include #include #include diff --git a/modules/rostests/apitests/kernel32/precomp.h b/modules/rostests/apitests/kernel32/precomp.h index cbc24c78ae8..ffbf218a93f 100644 --- a/modules/rostests/apitests/kernel32/precomp.h +++ b/modules/rostests/apitests/kernel32/precomp.h @@ -1,6 +1,10 @@ #ifndef _KERNEL32_APITEST_PRECOMP_H_ #define _KERNEL32_APITEST_PRECOMP_H_ +#define WIN32_NO_STATUS +#define _INC_WINDOWS +#define COM_NO_WINDOWS_H + #include #include #include diff --git a/modules/rostests/apitests/ntdll/NtSetValueKey.c b/modules/rostests/apitests/ntdll/NtSetValueKey.c index 7a77839a19d..caa2e34ef4c 100644 --- a/modules/rostests/apitests/ntdll/NtSetValueKey.c +++ b/modules/rostests/apitests/ntdll/NtSetValueKey.c @@ -7,6 +7,8 @@ #include "precomp.h" +#include + START_TEST(NtSetValueKey) { NTSTATUS Status; diff --git a/modules/rostests/apitests/ntdll/precomp.h b/modules/rostests/apitests/ntdll/precomp.h index 1552223a0b7..39ff188224d 100644 --- a/modules/rostests/apitests/ntdll/precomp.h +++ b/modules/rostests/apitests/ntdll/precomp.h @@ -2,10 +2,13 @@ #define _NTDLL_APITEST_PRECOMP_H_ #include -#include + #define WIN32_NO_STATUS +#define _INC_WINDOWS +#define COM_NO_WINDOWS_H + +#include #include -#include #include #endif /* _NTDLL_APITEST_PRECOMP_H_ */ diff --git a/modules/rostests/apitests/user32/precomp.h b/modules/rostests/apitests/user32/precomp.h index 8cb2810b598..9159e4bd588 100644 --- a/modules/rostests/apitests/user32/precomp.h +++ b/modules/rostests/apitests/user32/precomp.h @@ -1,9 +1,13 @@ #ifndef _USER32_APITEST_PRECOMP_H_ #define _USER32_APITEST_PRECOMP_H_ -#define WIN32_NO_STATUS #include #include + +#define _INC_WINDOWS +#define COM_NO_WINDOWS_H +#define WIN32_NO_STATUS + #include #include #include diff --git a/modules/rostests/winetests/crypt32/precomp.h b/modules/rostests/winetests/crypt32/precomp.h index 1d2fc3b4e80..81c3376acc9 100644 --- a/modules/rostests/winetests/crypt32/precomp.h +++ b/modules/rostests/winetests/crypt32/precomp.h @@ -2,6 +2,11 @@ #define _CRYPT32_WINETEST_PRECOMP_H_ #include + +#define _INC_WINDOWS +#define COM_NO_WINDOWS_H +#include +#define WIN32_NO_STATUS #include #include #define CMSG_SIGNER_ENCODE_INFO_HAS_CMS_FIELDS diff --git a/modules/rostests/winetests/gdi32/precomp.h b/modules/rostests/winetests/gdi32/precomp.h index 11e9e70e51f..bf8aea3a121 100644 --- a/modules/rostests/winetests/gdi32/precomp.h +++ b/modules/rostests/winetests/gdi32/precomp.h @@ -2,6 +2,8 @@ #define _GDI32_WINETEST_PRECOMP_H_ #define WIN32_NO_STATUS +#define _INC_WINDOWS +#define COM_NO_WINDOWS_H #define NONAMELESSUNION #include