"Ge van Geldorp" <[EMAIL PROTECTED]> 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
[EMAIL PROTECTED]


Reply via email to