--- a/src/input/input_cdda.c
+++ b/src/input/input_cdda.c
@@ -1279,7 +1279,7 @@
     hList = FindFirstFile(szDir, &FileData);
     if (hList == INVALID_HANDLE_VALUE)
       {
-	if(_mkdir(path) != 0) {
+	if(mkdir(path, 0) != 0) {
 	  xprintf(xine, XINE_VERBOSITY_DEBUG, "input_cdda: mkdir(%s) failed.\n", path);
 	  return;
 	}