about summary refs log tree commit diff
path: root/nss/tst-reload2.c
diff options
context:
space:
mode:
Diffstat (limited to 'nss/tst-reload2.c')
-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"),