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 128db25..5dae16b 100644 (file)
 
 #include "nss_test.h"
 
+#ifndef PATH_MAX
+# define PATH_MAX 1024
+#endif
+
 static struct passwd pwd_table1[] =
   {
    PWD_N (1234, "test1"),