diff options
author | Leah Neukirchen <leah@vuxu.org> | 2017-11-07 15:07:05 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2017-11-07 15:07:21 +0100 |
commit | d2b437219f20ef51a1964ccec0241770626c3510 (patch) | |
tree | 6f0e15421a329f3c8f2df78539133185d8dfb9b6 | |
parent | c219bd79099b10529c6561e5130b2ef1c3b86cb2 (diff) | |
download | lr-d2b437219f20ef51a1964ccec0241770626c3510.tar.gz lr-d2b437219f20ef51a1964ccec0241770626c3510.tar.xz lr-d2b437219f20ef51a1964ccec0241770626c3510.zip |
define PATH_MAX to a sensible upper bound if undefined
-rw-r--r-- | lr.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lr.c b/lr.c index 23dd6b6..fa6c9ca 100644 --- a/lr.c +++ b/lr.c @@ -73,6 +73,11 @@ #define FNM_CASEFOLD FNM_IGNORECASE #endif +/* For Hurd. */ +#if !defined(PATH_MAX) +#define PATH_MAX 4096 +#endif + static int Cflag; static char *Cflags[64]; static int Gflag; |