aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/alan2/sysdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk/alan2/sysdep.h')
-rw-r--r--engines/glk/alan2/sysdep.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/glk/alan2/sysdep.h b/engines/glk/alan2/sysdep.h
index 72769cb271..5e562cd68f 100644
--- a/engines/glk/alan2/sysdep.h
+++ b/engines/glk/alan2/sysdep.h
@@ -37,6 +37,7 @@
*/
#include "common/scummsys.h"
+#include "common/stream.h"
namespace Glk {
namespace Alan2 {
@@ -55,7 +56,7 @@ namespace Alan2 {
#undef rand
#define rand() g_vm->getRandomNumber(0x7fffffff)
#undef fprintf
-#define fprintf(FP, STR) FP->write(STR, strlen(STR) + 1)
+extern void fprintf(Common::WriteStream *ws, const char *fmt, ...);
#endif
/* Place definitions of OS and compiler here if necessary */