include/msvcrt: Make sure size_t is properly defined for 64-bit.

Alexandre Julliard julliard at winehq.org
Fri Jul 7 03:21:59 CDT 2006


"Ge van Geldorp" <ge at gse.nl> writes:

> In file included from data.c:21:
> ./../msvcrt.h:625: error: conflicting types for _strnset
> ../../../include/msvcrt/string.h:62: error: previous declaration of _strnset
> was here
>
> The patch I submitted fixes the problem by moving the include of "windef.h"
> a bit up:

We really shouldn't be including string.h here. Does this work for
you?

diff --git a/dlls/msvcrt/msvcrt.h b/dlls/msvcrt/msvcrt.h
index fc330ce..dcba4ae 100644
--- a/dlls/msvcrt/msvcrt.h
+++ b/dlls/msvcrt/msvcrt.h
@@ -37,8 +37,6 @@ #ifndef __WINE_MSVCRT_H
 #define __WINE_MSVCRT_H
 
 #include <stdarg.h>
-#include <ctype.h>
-#include <string.h>
 
 #include "windef.h"
 #include "winbase.h"

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list