diff options
Diffstat (limited to 'osdep/getch2-win.c')
-rw-r--r-- | osdep/getch2-win.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/osdep/getch2-win.c b/osdep/getch2-win.c index 80e745f9ef..d0aba80823 100644 --- a/osdep/getch2-win.c +++ b/osdep/getch2-win.c @@ -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; |