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.

27 lines
872 B

  1. From a4ed6560017d0b9edcd7cab93ca05d80f794ec10 Mon Sep 17 00:00:00 2001
  2. From: Rosen Penev <rosenp@gmail.com>
  3. Date: Wed, 10 Jul 2019 17:01:01 -0700
  4. Subject: [PATCH] Mayaqua: Replace GNU specific sys/poll.h header with POSIX
  5. poll.h
  6. Fixes warning from the musl libc:
  7. warning redirecting incorrect #include <sys/poll.h> to <poll.h>
  8. ---
  9. src/Mayaqua/Mayaqua.h | 2 +-
  10. 1 file changed, 1 insertion(+), 1 deletion(-)
  11. diff --git a/src/Mayaqua/Mayaqua.h b/src/Mayaqua/Mayaqua.h
  12. index 0f46d52a..63c2edc3 100644
  13. --- a/src/Mayaqua/Mayaqua.h
  14. +++ b/src/Mayaqua/Mayaqua.h
  15. @@ -157,8 +157,8 @@ int PASCAL WinMain(HINSTANCE hInst, HINSTANCE hPrev, char *CmdLine, int CmdShow)
  16. #ifdef UNIX_SOLARIS
  17. #include <sys/filio.h>
  18. #endif // UNIX_SOLARIS
  19. -#include <sys/poll.h>
  20. #include <sys/resource.h>
  21. +#include <poll.h>
  22. #include <pthread.h>
  23. #ifdef UNIX_LINUX
  24. #include <sys/prctl.h>