summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-03-08 22:37:15 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-03-08 22:37:15 +0000
commitdb44dadcab7bea9f85137ebe19a2985b9fad9a29 (patch)
tree77885b2af66f51e95c4fd7218b1a5cf8a70e7930 /uisimulator
parent738ae851eba077e68f8a867efc17a5d24c24d6a3 (diff)
downloadrockbox-db44dadcab7bea9f85137ebe19a2985b9fad9a29.tar.gz
rockbox-db44dadcab7bea9f85137ebe19a2985b9fad9a29.zip
attempt to kill two annoying win32 cross-compiler warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6169 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/common/io.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/uisimulator/common/io.c b/uisimulator/common/io.c
index 5db5f52880..53e2022062 100644
--- a/uisimulator/common/io.c
+++ b/uisimulator/common/io.c
@@ -40,6 +40,13 @@
#include "dir-win32.h"
#endif
+#if defined(WIN32) && defined(__MINGW32__)
+/* when building with cross-compiled mingw on Linux for win32, these protos
+ are missing */
+int _commit(int fd);
+int snprintf (char *buf, size_t size, const char *fmt, ...);
+#endif
+
#define MAX_PATH 260
#include <fcntl.h>