]> git.sesse.net Git - vlc/blobdiff - src/input/subtitles.c
WinCE: header inclusion fixes
[vlc] / src / input / subtitles.c
index 0ad27d3b82238d4d81fc79b9f759d1ed1c0790f6..5e46df6ca9c46e15f17f94589ece728c5521a609 100644 (file)
@@ -278,7 +278,7 @@ char **subtitles_Detect( input_thread_t *p_this, char *psz_path,
     }
     else
     {
-#ifdef HAVE_UNISTD_H
+#if defined (HAVE_UNISTD_H) && !defined (UNDER_CE)
         /* Get the current working directory */
         char *psz_cwd = getcwd( NULL, 0 );
 #else