From 3af2e52b7b98d894fc5c74e674e95eac24b74f6b Mon Sep 17 00:00:00 2001 From: defanor Date: Sat, 2 Oct 2021 12:07:05 +0300 Subject: Add a couple of HAVE_CURL checks --- src/rexmpp.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/rexmpp.h b/src/rexmpp.h index 99ebb90..e4fbc09 100644 --- a/src/rexmpp.h +++ b/src/rexmpp.h @@ -18,7 +18,9 @@ #ifdef HAVE_GPGME #include #endif +#ifdef HAVE_CURL #include +#endif typedef struct rexmpp rexmpp_t; @@ -380,7 +382,9 @@ struct rexmpp #endif /* curl structures */ +#ifdef HAVE_CURL CURLM *curl_multi; +#endif }; /** -- cgit v1.2.3