diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2020-03-14 01:58:29 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2020-07-08 19:54:30 -0400 |
commit | f70912ee446f4ecd27d7cafe5cc0d502095336e8 (patch) | |
tree | 0cf57b8d0374a2ca9c56b16b3b569af8ef713c5d | |
parent | abe61d0445bb1ae07e6ee53fb4f98387cb29d4b2 (diff) | |
download | lighttpd-git-f70912ee446f4ecd27d7cafe5cc0d502095336e8.tar.gz |
[mod_webdav] define PATH_MAX if not defined
(PATH_MAX does not appear to be defined on hurd-i386)
-rw-r--r-- | src/mod_webdav.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mod_webdav.c b/src/mod_webdav.c index 554e20ff..c670e3f4 100644 --- a/src/mod_webdav.c +++ b/src/mod_webdav.c @@ -181,6 +181,10 @@ #endif #endif +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif + #if defined(HAVE_LIBXML_H) && defined(HAVE_SQLITE3_H) #define USE_PROPPATCH |