From 4f3f757d56fbf420ea5030dcf7ea971b3da3ab47 Mon Sep 17 00:00:00 2001 From: Erik Andersen Date: Fri, 28 Apr 2000 00:18:56 +0000 Subject: Latest and greatest. Some effort at libc5 (aiming towards newlib) compatability. -Erik --- archival/gunzip.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'archival/gunzip.c') diff --git a/archival/gunzip.c b/archival/gunzip.c index 1a5cdba..97ab84e 100644 --- a/archival/gunzip.c +++ b/archival/gunzip.c @@ -102,7 +102,6 @@ static char *license_msg[] = { #include #include #include -#include /* for PATH_MAX */ /* #include "tailor.h" */ @@ -641,8 +640,8 @@ typedef RETSIGTYPE(*sig_type) (int); #define RW_USER (S_IRUSR | S_IWUSR) /* creation mode for open() */ #ifndef MAX_PATH_LEN /* max pathname length */ -# ifdef PATH_MAX -# define MAX_PATH_LEN PATH_MAX +# ifdef BUFSIZ +# define MAX_PATH_LEN BUFSIZ # else # define MAX_PATH_LEN 1024 # endif -- cgit v1.1