From: DJ Delorie Date: Thu, 28 Jan 2021 01:05:26 +0000 (-0500) Subject: Fix nss/tst-reload2 for systems without PATH_MAX X-Git-Tag: glibc-2.33~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=757a14b5ac7c736c759605f4b674cae28d752116;p=thirdparty%2Fglibc.git Fix nss/tst-reload2 for systems without PATH_MAX --- diff --git a/nss/tst-reload2.c b/nss/tst-reload2.c index 128db25ae69..5dae16b4f05 100644 --- a/nss/tst-reload2.c +++ b/nss/tst-reload2.c @@ -33,6 +33,10 @@ #include "nss_test.h" +#ifndef PATH_MAX +# define PATH_MAX 1024 +#endif + static struct passwd pwd_table1[] = { PWD_N (1234, "test1"),