summaryrefslogtreecommitdiff
path: root/src/journal-remote/microhttpd-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-07-31 12:11:48 +0200
committerGitHub <noreply@github.com>2017-07-31 12:11:48 +0200
commite362b5a77f8667c44fd79057c91d9aea909cac69 (patch)
tree1e5a4006178003cff3b23b57883c321c2ee893d8 /src/journal-remote/microhttpd-util.h
parent8ec1a07998758f6a85f3ea5bf2ed14d87609398f (diff)
parent010585873454d07625ee962ffa2ef2823624bfbe (diff)
downloadsystemd-e362b5a77f8667c44fd79057c91d9aea909cac69.tar.gz
Merge pull request #6472 from yuwata/journal-gateway-fix
Some journal-gateway and journal-remote related fixes
Diffstat (limited to 'src/journal-remote/microhttpd-util.h')
-rw-r--r--src/journal-remote/microhttpd-util.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/journal-remote/microhttpd-util.h b/src/journal-remote/microhttpd-util.h
index 7f88c2cb7d..8112851b16 100644
--- a/src/journal-remote/microhttpd-util.h
+++ b/src/journal-remote/microhttpd-util.h
@@ -41,6 +41,16 @@
# define MHD_USE_EPOLL MHD_USE_EPOLL_LINUX_ONLY
#endif
+/* Renamed in µhttpd 0.9.52 */
+#ifndef MHD_USE_SSL
+# define MHD_USE_TLS MHD_USE_SSL
+#endif
+
+/* Renamed in µhttpd 0.9.53 */
+#ifndef MHD_USE_POLL_INTERNALLY
+# define MHD_USE_POLL_INTERNAL_THREAD MHD_USE_POLL_INTERNALLY
+#endif
+
/* Both the old and new names are defines, check for the new one. */
/* Renamed in µhttpd 0.9.53 */