0001-netlink-netlink.h-fix-build-including-poll.h-with-th.patch 875 B

123456789101112131415161718192021222324252627282930
  1. From 14128766e80823f79a3b2c97573da1aea5c16ea8 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?J=C3=B6rg=20Krause?= <jkrause@posteo.de>
  3. Date: Mon, 1 Sep 2014 12:38:10 +0200
  4. Subject: [PATCH 1/2] netlink/netlink.h: fix build including <poll.h> with the
  5. musl C library
  6. https://github.com/thom311/libnl/pull/64
  7. Signed-off-by: Thomas Haller <thaller@redhat.com>
  8. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  9. ---
  10. include/netlink/netlink.h | 2 +-
  11. 1 file changed, 1 insertion(+), 1 deletion(-)
  12. diff --git a/include/netlink/netlink.h b/include/netlink/netlink.h
  13. index 28dba06..61656b3 100644
  14. --- a/include/netlink/netlink.h
  15. +++ b/include/netlink/netlink.h
  16. @@ -16,7 +16,7 @@
  17. #include <stdint.h>
  18. #include <string.h>
  19. #include <stdlib.h>
  20. -#include <sys/poll.h>
  21. +#include <poll.h>
  22. #include <sys/socket.h>
  23. #include <sys/types.h>
  24. #include <sys/time.h>
  25. --
  26. 2.1.0