]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix nss/tst-reload2 for systems without PATH_MAX
authorDJ Delorie <dj@redhat.com>
Thu, 28 Jan 2021 01:05:26 +0000 (20:05 -0500)
committerDJ Delorie <dj@redhat.com>
Thu, 28 Jan 2021 01:05:26 +0000 (20:05 -0500)
nss/tst-reload2.c

index 128db25ae69645751d38807b65e45e0976c4a9f9..5dae16b4f05096e8d4a85ff331563014093f27fb 100644 (file)
 
 #include "nss_test.h"
 
+#ifndef PATH_MAX
+# define PATH_MAX 1024
+#endif
+
 static struct passwd pwd_table1[] =
   {
    PWD_N (1234, "test1"),