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.

24 lines
621 B

  1. From 2e27c43228210eaa7aaabc2048c78645f319d080 Mon Sep 17 00:00:00 2001
  2. From: Leo <thinkabit.ukim@gmail.com>
  3. Date: Tue, 4 Feb 2020 05:42:22 +0100
  4. Subject: [PATCH] socket.c: include poll.h instead of sys/poll.h for POSIX
  5. compatibility
  6. https://pubs.opengroup.org/onlinepubs/009695399/basedefs/poll.h.html
  7. ---
  8. socket.c | 2 +-
  9. 1 file changed, 1 insertion(+), 1 deletion(-)
  10. diff --git a/socket.c b/socket.c
  11. index a76d593..432a9bd 100644
  12. --- a/socket.c
  13. +++ b/socket.c
  14. @@ -5,7 +5,7 @@
  15. */
  16. #include <sys/socket.h>
  17. -#include <sys/poll.h>
  18. +#include <poll.h>
  19. #include <sys/time.h>
  20. #include <sys/un.h>
  21. #include <string.h>