summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorFelix Arends <edx@rockbox.org>2002-06-12 15:33:07 +0000
committerFelix Arends <edx@rockbox.org>2002-06-12 15:33:07 +0000
commitd0b23126f1da12c03732ade3e6da780c32024349 (patch)
treef88dcdb3f4b7560485c878012f5286a978d63f2a /apps
parente096c86b0972938eabf1c8fb03f0f9a3d78e25d5 (diff)
downloadrockbox-d0b23126f1da12c03732ade3e6da780c32024349.tar.gz
rockbox-d0b23126f1da12c03732ade3e6da780c32024349.zip
need to include "sprintf.h" for win32 simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@980 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/recorder/tetris.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/recorder/tetris.c b/apps/recorder/tetris.c
index f11a0b2ddf..ac32b19661 100644
--- a/apps/recorder/tetris.c
+++ b/apps/recorder/tetris.c
@@ -30,6 +30,9 @@
#ifdef SIMULATOR
#include <stdio.h>
+#ifdef WIN32
+#include "sprintf.h"
+#endif // need that for win32 as snprintf is defined nowhere
#else
#include "sprintf.h"
#endif