From 9dafeab3da0febdbf62f8a1b3c92065bc9048893 Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Sat, 4 Jun 2005 20:37:15 +0000 Subject: [PATCH] sync winefile's header between WINE and ReactOS svn path=/trunk/; revision=15792 --- reactos/subsys/system/winefile/winefile.c | 5 +++++ reactos/subsys/system/winefile/winefile.h | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/reactos/subsys/system/winefile/winefile.c b/reactos/subsys/system/winefile/winefile.c index a698bc2579e..60be257259c 100644 --- a/reactos/subsys/system/winefile/winefile.c +++ b/reactos/subsys/system/winefile/winefile.c @@ -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" diff --git a/reactos/subsys/system/winefile/winefile.h b/reactos/subsys/system/winefile/winefile.h index e2d1158bdb8..dc32b98956f 100644 --- a/reactos/subsys/system/winefile/winefile.h +++ b/reactos/subsys/system/winefile/winefile.h @@ -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 #ifdef UNICODE -#define _UNICODE +#define _UNICODE #include #endif #include @@ -44,7 +44,6 @@ #include #include #include -#include #ifndef __WINE__ #include /* for alloca() */ @@ -143,6 +142,8 @@ typedef struct #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);