1 2 3 4 5 6 7 8 9 10 11
--- a/console.h +++ b/console.h @@ -6,6 +6,8 @@ #include <winbase.h> #endif /* __MINGW32__ */ +#include <sys/select.h> + #define prepareConsole udpc_prepareConsole #define getConsoleFd udpc_getConsoleFd #define restoreConsole udpc_restoreConsole