diff options
author | Paul Barker <paul@paulbarker.me.uk> | 2014-08-24 14:53:12 +0000 |
---|---|---|
committer | Craig Small <csmall@enc.com.au> | 2014-08-25 22:34:23 +1000 |
commit | e7203c36a2a4dc10cd8268a5dc036fc9c2a73b6c (patch) | |
tree | 2360210d9359050d0d629bdb80c83bd4a05f3b82 | |
parent | acbd2f4986f5598862cc6fc65ba059aaea5457f9 (diff) |
Include <limits.h> for PATH_MAX
When building against musl libc, PATH_MAX is defined in <limits.h>.
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Craig Small <csmall@enc.com.au>
-rw-r--r-- | src/pstree.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pstree.c b/src/pstree.c index 5540fe2..a8c24f1 100644 --- a/src/pstree.c +++ b/src/pstree.c @@ -41,6 +41,7 @@ #include <sys/types.h> #include <sys/stat.h> #include <sys/ioctl.h> +#include <limits.h> #include "i18n.h" #include "comm.h" |