sync winefile's header between WINE and ReactOS Modified: trunk/reactos/subsys/system/winefile/winefile.c Modified: trunk/reactos/subsys/system/winefile/winefile.h _____
Modified: trunk/reactos/subsys/system/winefile/winefile.c --- trunk/reactos/subsys/system/winefile/winefile.c 2005-06-04 20:17:19 UTC (rev 15791) +++ trunk/reactos/subsys/system/winefile/winefile.c 2005-06-04 20:37:15 UTC (rev 15792) @@ -18,6 +18,11 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
+#ifdef __WINE__ +#include "config.h" +#include "wine/port.h" +#endif + #include "winefile.h"
#include "resource.h" _____
Modified: trunk/reactos/subsys/system/winefile/winefile.h --- trunk/reactos/subsys/system/winefile/winefile.h 2005-06-04 20:17:19 UTC (rev 15791) +++ trunk/reactos/subsys/system/winefile/winefile.h 2005-06-04 20:37:15 UTC (rev 15792) @@ -1,5 +1,5 @@
/* - * Copyright 2000, 2003, 2004 Martin Fuchs + * Copyright 2000, 2003, 2004, 2005 Martin Fuchs * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -35,7 +35,7 @@ #include <commdlg.h>
#ifdef UNICODE -#define _UNICODE +#define _UNICODE #include <wchar.h> #endif #include <tchar.h> @@ -44,7 +44,6 @@ #include <stdio.h> #include <ctype.h> #include <locale.h> -#include <time.h>
#ifndef __WINE__ #include <malloc.h> /* for alloca() */ @@ -143,6 +142,8 @@ #endif } WINEFILE_GLOBALS;
+extern WINEFILE_GLOBALS Globals; + #ifdef __WINE__ #ifdef UNICODE extern void _wsplitpath(const WCHAR* path, WCHAR* drv, WCHAR* dir, WCHAR* name, WCHAR* ext);