commit | b038a43d756c84f98868557a1bbacd048faf1e53 | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Tue Aug 30 16:05:26 2011 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Tue Aug 30 16:05:26 2011 +0000 |
tree | 461d4977db2f7e42bbe2914548187a8d0c5d4f38 | |
parent | 77770bbf6b52bc109a2769df3aff19ce9fcdc9f4 [diff] [blame] |
Include <sys/param.h> to get PATH_MAX definition * pathtrace.c: Include <sys/param.h> instead of <limits.h> to get PATH_MAX definition. Reported-by: Steve Bennett <steveb@workware.net.au>
diff --git a/pathtrace.c b/pathtrace.c index b2efd33..3ebb427 100644 --- a/pathtrace.c +++ b/pathtrace.c
@@ -29,7 +29,7 @@ #include "defs.h" #include <ctype.h> -#include <limits.h> +#include <sys/param.h> #ifdef HAVE_POLL_H #include <poll.h>