diff --git a/reactos/subsys/system/winefile/winefile.h b/reactos/subsys/system/winefile/winefile.h index 7bd5160709e..94a0984b086 100644 --- a/reactos/subsys/system/winefile/winefile.h +++ b/reactos/subsys/system/winefile/winefile.h @@ -32,6 +32,7 @@ #define _UNICODE #include #endif +#include #include #include @@ -39,7 +40,6 @@ #include #include #include -#include #include #ifdef _MSC_VER @@ -139,3 +139,11 @@ typedef struct UINT cfStrFName; #endif } WINEFILE_GLOBALS; + +#ifdef __WINE__ +#ifdef UNICODE +extern void _wsplitpath(const WCHAR* path, WCHAR* drv, WCHAR* dir, WCHAR* name, WCHAR* ext); +#else +extern void _splitpath(const CHAR* path, CHAR* drv, CHAR* dir, CHAR* name, CHAR* ext); +#endif +#endif