WinCE: fix includes
authorPierre Ynard <linkfanel@yahoo.fr>
Tue, 4 Nov 2008 14:50:23 +0000 (15:50 +0100)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Tue, 4 Nov 2008 15:53:37 +0000 (17:53 +0200)
Fix includes for WinCE

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
src/text/filesystem.c

index 21bae5e..8ef609a 100644 (file)
@@ -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