|
@@ -0,0 +1,29 @@
|
|
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
|
+
|
|
6
|
+Include <limits.h> for PATH_MAX.
|
|
7
|
+
|
|
8
|
+Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
|
|
9
|
+
|
|
10
|
+Upstream-status: Pending
|
|
11
|
+---
|
|
12
|
+ proc/readproc.c | 1 +
|
|
13
|
+ 1 file changed, 1 insertion(+)
|
|
14
|
+
|
|
15
|
+diff --git a/proc/readproc.c b/proc/readproc.c
|
|
16
|
+index 4fad11d..c5b1869 100644
|
|
17
|
+--- a/proc/readproc.c
|
|
18
|
++++ b/proc/readproc.c
|
|
19
|
+@@ -26,6 +26,7 @@
|
|
20
|
+ #include <sys/dir.h>
|
|
21
|
+ #include <sys/types.h>
|
|
22
|
+ #include <sys/stat.h>
|
|
23
|
++#include <limits.h>
|
|
24
|
+
|
|
25
|
+ // sometimes it's easier to do this manually, w/o gcc helping
|
|
26
|
+ #ifdef PROF
|
|
27
|
+--
|
|
28
|
+1.9.1
|
|
29
|
+
|