[vlc-devel] [PATCH] WinCE: fix includes

Pierre Ynard linkfanel at yahoo.fr
Tue Nov 4 15:50:23 CET 2008


Fix includes for WinCE


diff --git a/src/text/filesystem.c b/src/text/filesystem.c
index 21bae5e..8ef609a 100644
--- a/src/text/filesystem.c
+++ b/src/text/filesystem.c
@@ -51,7 +51,9 @@
 #endif
 #ifdef WIN32
 # include <io.h>
-# include <direct.h>
+# ifndef UNDER_CE
+#  include <direct.h>
+# endif
 #else
 # include <unistd.h>
 #endif


Regards,

-- 
Pierre Ynard
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."



More information about the vlc-devel mailing list