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.

29 lines
681 B

  1. From 6f2fd55ef7621fd7ab7897aee2c2651b6faf9e6a Mon Sep 17 00:00:00 2001
  2. From: Paul Barker <paul@paulbarker.me.uk>
  3. Date: Wed, 20 Aug 2014 11:56:11 +0200
  4. Subject: [PATCH] Fix musl build failure
  5. Include <limits.h> for PATH_MAX.
  6. Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
  7. Upstream-status: Pending
  8. ---
  9. proc/readproc.c | 1 +
  10. 1 file changed, 1 insertion(+)
  11. diff --git a/proc/readproc.c b/proc/readproc.c
  12. index 4fad11d..c5b1869 100644
  13. --- a/proc/readproc.c
  14. +++ b/proc/readproc.c
  15. @@ -26,6 +26,7 @@
  16. #include <sys/dir.h>
  17. #include <sys/types.h>
  18. #include <sys/stat.h>
  19. +#include <limits.h>
  20. // sometimes it's easier to do this manually, w/o gcc helping
  21. #ifdef PROF
  22. --
  23. 1.9.1