diff options
Diffstat (limited to 'stdlib')
-rw-r--r-- | stdlib/test-canon.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/stdlib/test-canon.c b/stdlib/test-canon.c index d06ec4d581..c8be8d2d96 100644 --- a/stdlib/test-canon.c +++ b/stdlib/test-canon.c @@ -28,6 +28,9 @@ #include <unistd.h> #include <sys/param.h> +#ifndef PATH_MAX +# define PATH_MAX 4096 +#endif static char cwd[PATH_MAX]; static size_t cwd_len; |