]> asedeno.scripts.mit.edu Git - 1ts-debian.git/commitdiff
MAXPATHLEN kludge
authorkcr <kcr@cbed1d16-5ef5-0310-b6a1-d4a37b08ba1f>
Mon, 8 Jul 2013 05:33:45 +0000 (05:33 +0000)
committerkcr <kcr@cbed1d16-5ef5-0310-b6a1-d4a37b08ba1f>
Mon, 8 Jul 2013 05:33:45 +0000 (05:33 +0000)
git-svn-id: svn://svn.1ts.org/debian/trunk@513 cbed1d16-5ef5-0310-b6a1-d4a37b08ba1f

zephyr/lib/ZLocations.c

index b0c197c262fc1ea688324d91c091f05073abd638..d7f1fb2a927ab4558821342048399a279ac13da6 100644 (file)
@@ -20,6 +20,10 @@ static const char rcsid_ZLocations_c[] =
 
 #include <pwd.h>
 
+#ifndef MAXPATHLEN
+#define MAXPATHLEN 1024
+#endif
+
 static char host[NS_MAXDNAME], mytty[MAXPATHLEN];
 static int location_info_set = 0;