From 2de080d736106f934a19f9451f821d8f936a7079 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 6 Jan 1994 06:38:59 +0000 Subject: Formerly io/ftw.c.~2~ --- io/ftw.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'io') diff --git a/io/ftw.c b/io/ftw.c index 19a73213de..ae31a8ba68 100644 --- a/io/ftw.c +++ b/io/ftw.c @@ -154,6 +154,9 @@ DEFUN(ftw, (dir, func, descriptors), { DIR **dirs; size_t len; +#ifndef PATH_MAX +#define PATH_MAX 1024 /* XXX */ +#endif char buf[PATH_MAX + 1]; struct stat s; int flag, ret; -- cgit v1.2.3