From b5590ef781ab37841bc99c4d4b3af97d20bf73bd Mon Sep 17 00:00:00 2001 From: kcr Date: Mon, 8 Jul 2013 05:33:45 +0000 Subject: [PATCH] MAXPATHLEN kludge git-svn-id: svn://svn.1ts.org/debian/trunk@513 cbed1d16-5ef5-0310-b6a1-d4a37b08ba1f --- zephyr/lib/ZLocations.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zephyr/lib/ZLocations.c b/zephyr/lib/ZLocations.c index b0c197c..d7f1fb2 100644 --- a/zephyr/lib/ZLocations.c +++ b/zephyr/lib/ZLocations.c @@ -20,6 +20,10 @@ static const char rcsid_ZLocations_c[] = #include +#ifndef MAXPATHLEN +#define MAXPATHLEN 1024 +#endif + static char host[NS_MAXDNAME], mytty[MAXPATHLEN]; static int location_info_set = 0; -- 2.45.2