From 757a14b5ac7c736c759605f4b674cae28d752116 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Wed, 27 Jan 2021 20:05:26 -0500 Subject: Fix nss/tst-reload2 for systems without PATH_MAX --- nss/tst-reload2.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nss/tst-reload2.c b/nss/tst-reload2.c index 128db25ae6..5dae16b4f0 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"), -- cgit 1.4.1