summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2020-03-14 01:58:29 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2020-07-08 19:54:30 -0400
commitf70912ee446f4ecd27d7cafe5cc0d502095336e8 (patch)
tree0cf57b8d0374a2ca9c56b16b3b569af8ef713c5d
parentabe61d0445bb1ae07e6ee53fb4f98387cb29d4b2 (diff)
downloadlighttpd-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.c4
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