1 Workaround for PATH_MAX usage on the Hurd.
3 Taken from https://salsa.debian.org/debian/screen/-/blob/master/debian/patches/61-default-PATH_MAX-if-undefined-for-hurd.patch
5 Description: Set PATH_MAX to 4096 if undefined
6 Fixes FTBFS since 4.4.0 on GNU/Hurd. Updated to add one more occurrence for 4.5.0.
7 Author: Axel Beckert <abe@debian.org>
8 Bug: https://savannah.gnu.org/bugs/?50089
9 Last-Updated: 2017-01-18
13 @@ -1478,6 +1478,13 @@
18 + * Define PATH_MAX to 4096 if it's not defined, like on GNU/Hurd
22 +#define PATH_MAX 4096
25 int CheckTtyname (char *tty)
30 # define DEFAULT_BUFFERFILE "/tmp/screen-exchange"
34 + * Define PATH_MAX to 4096 if it's not defined, like on GNU/Hurd
38 +#define PATH_MAX 4096
41 #if defined(hpux) && !(defined(VSUSP) && defined(VDSUSP) && defined(VWERASE) && defined(VLNEXT))
42 # define HPUX_LTCHARS_HACK