From 15c9fcd0f8110e515da3a34aaa6ac2778ff4cfb6 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 12 Oct 2016 15:34:23 +0000 Subject: [PATCH] -work around MHD_USE_TLS not being in old MHD versions --- src/include/gnunet_common.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h index dcd0c6056..4a5051c53 100644 --- a/src/include/gnunet_common.h +++ b/src/include/gnunet_common.h @@ -68,6 +68,11 @@ extern "C" */ #define GNUNET_UTIL_VERSION 0x000A0101 +/* support old MHD versions */ +#ifndef MHD_USE_TLS +#define MHD_USE_TLS MHD_USE_SSL +#endif + /** * Named constants for return values. The following invariants hold: -- 2.25.1