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 #include #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;