[committed,v2] tst-realpath-toolong: Fix hurd build
Commit Message
Thanks, I've committed this after confirming that build-many-glibcs
works for i686-gnu.
-->8--
Define PATH_MAX to a constant if it isn't already defined, like in hurd.
Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
---
stdlib/tst-realpath-toolong.c | 4 ++++
1 file changed, 4 insertions(+)
@@ -29,6 +29,10 @@
#define BASENAME "tst-realpath-toolong."
+#ifndef PATH_MAX
+# define PATH_MAX 1024
+#endif
+
int
do_test (void)
{