mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-28 09:38:38 +00:00
Fix build with older microhttpd
This commit is contained in:
parent
be3a29a33e
commit
7de6ec0669
@ -317,6 +317,10 @@ static conky::simple_config_setting<std::string> append_file("append_file",
|
|||||||
static FILE *append_fpointer = nullptr;
|
static FILE *append_fpointer = nullptr;
|
||||||
|
|
||||||
#ifdef BUILD_HTTP
|
#ifdef BUILD_HTTP
|
||||||
|
#ifdef MHD_YES
|
||||||
|
/* older API */
|
||||||
|
#define MHD_Result int
|
||||||
|
#endif /* MHD_YES */
|
||||||
std::string webpage;
|
std::string webpage;
|
||||||
struct MHD_Daemon *httpd;
|
struct MHD_Daemon *httpd;
|
||||||
static conky::simple_config_setting<bool> http_refresh("http_refresh", false,
|
static conky::simple_config_setting<bool> http_refresh("http_refresh", false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user