changeset 22441:6f183c95aafc

Include stdio.h for printf
author reimar
date Sun, 04 Mar 2007 18:55:44 +0000
parents ee6b8e74d727
children 56a0b0f8a66e
files osdep/getch2-win.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/osdep/getch2-win.c	Sun Mar 04 16:23:18 2007 +0000
+++ b/osdep/getch2-win.c	Sun Mar 04 18:55:44 2007 +0000
@@ -4,9 +4,12 @@
 // for additional virtual keycodes
 
 
+#include <stdio.h>
 #include <windows.h>
 #include "keycodes.h"
 #include "input/input.h"
+// HACK, stdin is used as something else below
+#undef stdin
 
 int mp_input_win32_slave_cmd_func(int fd,char* dest,int size){
   DWORD retval;