You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
420 B

  1. --- a/src/socket.c
  2. +++ b/src/socket.c
  3. @@ -43,6 +43,7 @@
  4. #else
  5. # include <netinet/in.h>
  6. # include <arpa/inet.h>
  7. +# include <sys/select.h>
  8. # include <sys/socket.h>
  9. # include <netdb.h>
  10. # include <sys/un.h>
  11. --- a/src/sync.c
  12. +++ b/src/sync.c
  13. @@ -33,6 +33,9 @@
  14. #include <assert.h>
  15. #include <stdlib.h>
  16. #include <stdio.h>
  17. +#ifndef WIN32
  18. +#include <sys/select.h>
  19. +#endif
  20. #include <fcntl.h>
  21. #include <unistd.h>