diff options
| author | Hardeep Sidhu <dyp@pobox.com> | 2004-06-14 07:00:50 +0000 |
|---|---|---|
| committer | Hardeep Sidhu <dyp@pobox.com> | 2004-06-14 07:00:50 +0000 |
| commit | fb26bfb662e7939b6646d290ad658fe1bdbffc8e (patch) | |
| tree | 6db2aa5049259834333885891f7af6903625cbe2 /uisimulator/common | |
| parent | 2dafebfe1698ee32cce48b9cf4cb3b59a17b295d (diff) | |
| download | rockbox-fb26bfb662e7939b6646d290ad658fe1bdbffc8e.zip rockbox-fb26bfb662e7939b6646d290ad658fe1bdbffc8e.tar.gz rockbox-fb26bfb662e7939b6646d290ad658fe1bdbffc8e.tar.bz2 rockbox-fb26bfb662e7939b6646d290ad658fe1bdbffc8e.tar.xz | |
Fixed VC++ build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4739 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/common')
| -rw-r--r-- | uisimulator/common/file.h | 5 | ||||
| -rw-r--r-- | uisimulator/common/io.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/uisimulator/common/file.h b/uisimulator/common/file.h index 8d91b61..0e50031 100644 --- a/uisimulator/common/file.h +++ b/uisimulator/common/file.h @@ -32,6 +32,11 @@ #ifdef WIN32 #ifndef _commit extern int _commit( int handle ); + +#ifdef _MSC_VER +typedef unsigned int mode_t; +#endif + #endif #endif diff --git a/uisimulator/common/io.c b/uisimulator/common/io.c index 745e417..e321c1a 100644 --- a/uisimulator/common/io.c +++ b/uisimulator/common/io.c @@ -27,8 +27,13 @@ #elif !defined(WIN32) #include <sys/vfs.h> #endif + +#ifndef _MSC_VER #include <dirent.h> #include <unistd.h> +#else +#include "dir-win32.h" +#endif #include <fcntl.h> #include "debug.h" |