summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefanor <defanor@uberspace.net>2021-10-02 12:07:05 +0300
committerdefanor <defanor@uberspace.net>2021-10-02 12:07:05 +0300
commit3af2e52b7b98d894fc5c74e674e95eac24b74f6b (patch)
tree894ef15a9a0b9298a6bad03c9cc90dc886df75f8
parent501312b10159cee796bc1c70aa7fed8db082b098 (diff)
Add a couple of HAVE_CURL checks
-rw-r--r--src/rexmpp.h4
1 files changed, 4 insertions, 0 deletions
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 <gpgme.h>
#endif
+#ifdef HAVE_CURL
#include <curl/curl.h>
+#endif
typedef struct rexmpp rexmpp_t;
@@ -380,7 +382,9 @@ struct rexmpp
#endif
/* curl structures */
+#ifdef HAVE_CURL
CURLM *curl_multi;
+#endif
};
/**