Use system headers a bit more: use host's fcntl.h for O_RDONLY etc.
commitb1b353dbadef3792740505f7e6d26393531904bc
authorkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Fri, 27 Aug 2010 12:38:25 +0000 (27 12:38 +0000)
committerkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Fri, 27 Aug 2010 12:38:25 +0000 (27 12:38 +0000)
tree16ea536a547deb252276c29d34eeee08f029866f
parent6ad1ddbb07d10428b9429ac0b25a0c86cdca4fc3
Use system headers a bit more: use host's fcntl.h for O_RDONLY etc.
Removes the need to fix up those in the simulator.

Also work around some posix-mingw incompatibilities (e.g. getcwd()).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27904 a1c6a512-1295-4272-9138-f99709370657
apps/codecs/libtta/ttadec.c
apps/language.c
apps/metadata.h
apps/tree.c
apps/tree.h
firmware/export/load_code.h
firmware/include/file.h
firmware/libc/include/fcntl.h [new file with mode: 0644]
firmware/load_code.c
uisimulator/common/io.c