Description: Undocumented upstream changes
This patch has been created by dpkg-source during the package build
but it might have accumulated changes from several uploads. Please
check the changelog to (hopefully) learn more on those changes.
--- zephyr-3.0.2.orig/lib/ZLocations.c
+++ zephyr-3.0.2/lib/ZLocations.c
@@ -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;