Moved CharUpper* and CharLower* functions to dlls/user.
diff --git a/files/dos_fs.c b/files/dos_fs.c
index e6e76cd..95add12 100644
--- a/files/dos_fs.c
+++ b/files/dos_fs.c
@@ -22,8 +22,7 @@
#include <unistd.h>
#include "windef.h"
-#include "wingdi.h"
-#include "winuser.h"
+#include "ntddk.h"
#include "wine/winbase16.h"
#include "wine/unicode.h"
#include "winerror.h"
@@ -1191,7 +1190,7 @@
memmove(p+1,p+3,strlen(p+3)+1);
}
if (!(DRIVE_GetFlags(drive) & DRIVE_CASE_PRESERVING))
- CharUpperA( full_name.short_name );
+ _strupr( full_name.short_name );
namelen=strlen(full_name.short_name);
if (!strcmp(full_name.short_name+namelen-3,"\\.."))
{
@@ -1373,7 +1372,7 @@
!(flags & DRIVE_CASE_SENSITIVE) );
lstrcpynA( entry->cFileName, long_name, sizeof(entry->cFileName) );
- if (!(flags & DRIVE_CASE_PRESERVING)) CharLowerA( entry->cFileName );
+ if (!(flags & DRIVE_CASE_PRESERVING)) _strlwr( entry->cFileName );
TRACE("returning %s (%s) %02lx %ld\n",
entry->cFileName, entry->cAlternateFileName,
entry->dwFileAttributes, entry->nFileSizeLow );