about summary refs log tree commit diff
path: root/nss
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2021-01-27 20:05:26 -0500
committerDJ Delorie <dj@redhat.com>2021-01-27 20:05:26 -0500
commit757a14b5ac7c736c759605f4b674cae28d752116 (patch)
tree5a8f8b794a66fc858a506e3664dcb0455a50f9b3 /nss
parent429029a73ec2dba7f808f69ec8b9e3d84e13e804 (diff)
downloadglibc-757a14b5ac7c736c759605f4b674cae28d752116.tar.gz
glibc-757a14b5ac7c736c759605f4b674cae28d752116.tar.xz
glibc-757a14b5ac7c736c759605f4b674cae28d752116.zip
Fix nss/tst-reload2 for systems without PATH_MAX
Diffstat (limited to 'nss')
-rw-r--r--nss/tst-reload2.c4
1 files changed, 4 insertions, 0 deletions
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"),