Added binary and unicode file i/o support to msvcrt.
[reactos.git] / reactos / lib / crtdll / direct / chdir.c
index 19a4a9f..212b7dc 100644 (file)
@@ -1,7 +1,6 @@
 #include <windows.h>
-#include <crtdll/direct.h>
-#include <crtdll/ctype.h>
-
+#include <msvcrt/ctype.h>
+#include <msvcrt/direct.h>
 
 
 int _chdir( const char *_path )
@@ -10,9 +9,5 @@ int _chdir( const char *_path )
                _chdrive(tolower(_path[0] - 'a')+1);
        if ( !SetCurrentDirectoryA((char *)_path) )
                return -1;
-
        return 0;
 }
-
-
-