diff --git a/include/msvcrt/stdio.h b/include/msvcrt/stdio.h index ef51591dd32c6b801dd1748165fd3c4f05731935..f433af6363eb3bce9a999e09ccb61699ab3b44ca 100644 --- a/include/msvcrt/stdio.h +++ b/include/msvcrt/stdio.h @@ -8,7 +8,9 @@ #ifndef __WINE_STDIO_H #define __WINE_STDIO_H +#ifndef RC_INVOKED #include <stdarg.h> +#endif #include "msvcrt/wctype.h" /* For wint_t */ diff --git a/include/windows.h b/include/windows.h index 1ab74b76f2dbc9a07d4b9655dedf9b959cee8254..595294f96bc640d5a73ae408fad04c82699f50ec 100644 --- a/include/windows.h +++ b/include/windows.h @@ -5,6 +5,10 @@ #error Wine should not include windows.h internally #endif +#if defined(RC_INVOKED) && !defined(NOWINRES) +#include "winresrc.h" +#else /* RC_INVOKED && !NOWINRES */ + /* All the basic includes */ /* #include "excpt.h" */ #include "windef.h" @@ -82,4 +86,5 @@ WORD WINAPI WOWHandle16(HANDLE,WOW_HANDLE_TYPE); #endif /* 0 */ +#endif /* RC_INVOKED && !NOWINRES */ #endif /* __WINE_WINDOWS_H */