0001-netlink-netlink-h-use-poll-h-instead-of-sys-poll-h.patch 672 B

123456789101112131415161718
  1. netlink/netlink.h: As the poll() man page recommends include the <poll.h>
  2. instead of <sys/poll.h>. This removes an error when building libdl against
  3. the musl C library.
  4. Signed-off-by: Jörg Krause <jkrause@posteo.de>
  5. diff -purN libnl-3.2.25.orig/include/netlink/netlink.h libnl-3.2.25/include/netlink/netlink.h
  6. --- libnl-3.2.25.orig/include/netlink/netlink.h 2014-09-01 11:42:37.254724124 +0200
  7. +++ libnl-3.2.25/include/netlink/netlink.h 2014-09-01 11:42:58.254724255 +0200
  8. @@ -16,7 +16,7 @@
  9. #include <stdint.h>
  10. #include <string.h>
  11. #include <stdlib.h>
  12. -#include <sys/poll.h>
  13. +#include <poll.h>
  14. #include <sys/socket.h>
  15. #include <sys/types.h>
  16. #include <sys/time.h>