udpcast-20120424-fd_set.patch 253 B

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