From 429cd9e8173451c92faaf36661145e7ff3f5506d Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 10 Jul 2006 11:54:10 +0200 Subject: [PATCH] msvcrt: Avoid including system headers in msvcrt.h. --- dlls/msvcrt/ctype.c | 2 ++ dlls/msvcrt/locale.c | 1 + dlls/msvcrt/msvcrt.h | 4 ---- dlls/msvcrt/time.c | 1 + 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/msvcrt/ctype.c b/dlls/msvcrt/ctype.c index 71e4ec65e0b..9c238103895 100644 --- a/dlls/msvcrt/ctype.c +++ b/dlls/msvcrt/ctype.c @@ -17,7 +17,9 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ + #include "msvcrt.h" +#include "winnls.h" #include "wine/debug.h" WINE_DEFAULT_DEBUG_CHANNEL(msvcrt); diff --git a/dlls/msvcrt/locale.c b/dlls/msvcrt/locale.c index 367b1b2346e..de4cb582edd 100644 --- a/dlls/msvcrt/locale.c +++ b/dlls/msvcrt/locale.c @@ -28,6 +28,7 @@ #include "windef.h" #include "winbase.h" #include "winuser.h" +#include "winnls.h" #include "msvcrt.h" #include "mtdll.h" diff --git a/dlls/msvcrt/msvcrt.h b/dlls/msvcrt/msvcrt.h index fc330ce190a..0066e3da991 100644 --- a/dlls/msvcrt/msvcrt.h +++ b/dlls/msvcrt/msvcrt.h @@ -37,13 +37,9 @@ #define __WINE_MSVCRT_H #include -#include -#include #include "windef.h" #include "winbase.h" -#include "winerror.h" -#include "winnls.h" typedef unsigned short MSVCRT_wchar_t; typedef unsigned short MSVCRT_wint_t; diff --git a/dlls/msvcrt/time.c b/dlls/msvcrt/time.c index 868a0dc9fad..5da2f9c1843 100644 --- a/dlls/msvcrt/time.c +++ b/dlls/msvcrt/time.c @@ -33,6 +33,7 @@ #include "msvcrt.h" #include "winbase.h" +#include "winnls.h" #include "wine/debug.h" WINE_DEFAULT_DEBUG_CHANNEL(msvcrt);