From c5689081b7a046e6f5ca3e42e83b9f03455cad3a Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Fri, 29 Nov 2002 01:42:18 +0000 Subject: [PATCH] define PATH_MAX if not defined. [RT #4602 + others] --- lib/isc/log.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/isc/log.c b/lib/isc/log.c index b7175fd6e0..539e1867c0 100644 --- a/lib/isc/log.c +++ b/lib/isc/log.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: log.c,v 1.79 2002/10/16 13:15:29 jinmei Exp $ */ +/* $Id: log.c,v 1.80 2002/11/29 01:42:18 marka Exp $ */ /* Principal Authors: DCL */ @@ -52,6 +52,10 @@ */ #define LOG_BUFFER_SIZE (8 * 1024) +#ifndef PATH_MAX +#define PATH_MAX 1024 /* AIX and others don't define this. */ +#endif + /* * This is the structure that holds each named channel. A simple linked * list chains all of the channels together, so an individual channel is