(MAXPATHLEN): Define if not defined.
authorroland <roland>
Tue, 15 Nov 1994 10:13:26 +0000 (10:13 +0000)
committerroland <roland>
Tue, 15 Nov 1994 10:13:26 +0000 (10:13 +0000)
io/fts.c

index b0f4f91..dc34652 100644 (file)
--- a/io/fts.c
+++ b/io/fts.c
@@ -101,6 +101,9 @@ fts_open(argv, options, compar)
         * Start out with 1K of path space, and enough, in any case,
         * to hold the user's paths.
         */
+#ifndef MAXPATHLEN
+#define MAXPATHLEN 1024
+#endif
        if (fts_palloc(sp, MAX(fts_maxarglen(argv), MAXPATHLEN)))
                goto mem1;