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:
parent
23e0e8f5f1
commit
976db046bc
|
@ -29,6 +29,10 @@
|
||||||
|
|
||||||
#define BASENAME "tst-realpath-toolong."
|
#define BASENAME "tst-realpath-toolong."
|
||||||
|
|
||||||
|
#ifndef PATH_MAX
|
||||||
|
# define PATH_MAX 1024
|
||||||
|
#endif
|
||||||
|
|
||||||
int
|
int
|
||||||
do_test (void)
|
do_test (void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue