1
0

011-fix-poll-h-warnings-on-musl.patch 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. diff --git a/avahi-common/simple-watch.c b/avahi-common/simple-watch.c
  2. index 8df18dd..08d8090 100644
  3. --- a/avahi-common/simple-watch.c
  4. +++ b/avahi-common/simple-watch.c
  5. @@ -21,7 +21,7 @@
  6. #include <config.h>
  7. #endif
  8. -#include <sys/poll.h>
  9. +#include <poll.h>
  10. #include <assert.h>
  11. #include <string.h>
  12. #include <errno.h>
  13. diff --git a/avahi-common/simple-watch.h b/avahi-common/simple-watch.h
  14. index 72c1905..db87122 100644
  15. --- a/avahi-common/simple-watch.h
  16. +++ b/avahi-common/simple-watch.h
  17. @@ -22,7 +22,7 @@
  18. /** \file simple-watch.h Simple poll() based main loop implementation */
  19. -#include <sys/poll.h>
  20. +#include <poll.h>
  21. #include <avahi-common/cdecl.h>
  22. #include <avahi-common/watch.h>
  23. diff --git a/avahi-common/thread-watch.c b/avahi-common/thread-watch.c
  24. index c0cadeb..ecb202b 100644
  25. --- a/avahi-common/thread-watch.c
  26. +++ b/avahi-common/thread-watch.c
  27. @@ -21,7 +21,7 @@
  28. #include <config.h>
  29. #endif
  30. -#include <sys/poll.h>
  31. +#include <poll.h>
  32. #include <assert.h>
  33. #include <string.h>
  34. #include <errno.h>
  35. diff --git a/avahi-common/thread-watch.h b/avahi-common/thread-watch.h
  36. index dec0cf3..1b44ccb 100644
  37. --- a/avahi-common/thread-watch.h
  38. +++ b/avahi-common/thread-watch.h
  39. @@ -22,7 +22,7 @@
  40. /** \file thread-watch.h Threaded poll() based main loop implementation */
  41. -#include <sys/poll.h>
  42. +#include <poll.h>
  43. #include <avahi-common/cdecl.h>
  44. #include <avahi-common/watch.h>
  45. diff --git a/avahi-common/watch.h b/avahi-common/watch.h
  46. index 86e63d3..eea12ec 100644
  47. --- a/avahi-common/watch.h
  48. +++ b/avahi-common/watch.h
  49. @@ -22,7 +22,7 @@
  50. /** \file watch.h Simplistic main loop abstraction */
  51. -#include <sys/poll.h>
  52. +#include <poll.h>
  53. #include <sys/time.h>
  54. #include <avahi-common/cdecl.h>