Guest User

Untitled

a guest
Jun 21st, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. Index: test/test.c
  2. ===================================================================
  3. --- test/test.c (revision 2531)
  4. +++ test/test.c (working copy)
  5. @@ -11,6 +11,10 @@
  6. #include <unistd.h>
  7. #include <inttypes.h>
  8.  
  9. +#ifdef __MINGW32__
  10. +#include <winsock2.h>
  11. +#endif
  12. +
  13. #ifdef PTW32_STATIC_LIB
  14. #include <pthread.h>
  15. #endif
  16. @@ -233,7 +237,7 @@
  17. /* Wait... */
  18. while( !die )
  19. {
  20. -#if !defined(SYS_BEOS) && !defined(__MINGW32__)
  21. +#if !defined(SYS_BEOS)
  22. fd_set fds;
  23. struct timeval tv;
  24. int ret;
Add Comment
Please, Sign In to add comment