summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
};
/**