tst-realpath-toolong: Fix hurd build

Define PATH_MAX to a constant if it isn't already defined, like in hurd.

Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
This commit is contained in:
Siddhesh Poyarekar 2022-01-24 10:57:09 +05:30
parent 23e0e8f5f1
commit 976db046bc
1 changed files with 4 additions and 0 deletions

View File

@ -29,6 +29,10 @@
#define BASENAME "tst-realpath-toolong."
#ifndef PATH_MAX
# define PATH_MAX 1024
#endif
int
do_test (void)
{