summaryrefslogtreecommitdiff
path: root/src/trg-client.h
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-09-13 20:18:22 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-09-13 20:18:22 +0000
commit53ca28eb754d1a94a0220810f9a2bd37598ef18b (patch)
tree3c347822e3d70b9d0e070e7c27aa1b333be1ba66 /src/trg-client.h
parentfad64fe594bf7b5c13a09f343392e5552c7a4d81 (diff)
more windows portability
Diffstat (limited to 'src/trg-client.h')
-rw-r--r--src/trg-client.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/trg-client.h b/src/trg-client.h
index 78a674d..8c5e358 100644
--- a/src/trg-client.h
+++ b/src/trg-client.h
@@ -34,6 +34,10 @@
#define TRG_NO_HOSTNAME_SET -2
#define SESSION_UPDATE_DIVISOR 10
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <curl/curl.h>
#include <curl/easy.h>
@@ -113,7 +117,9 @@ gchar *trg_client_get_username(TrgClient *tc);
gchar *trg_client_get_url(TrgClient *tc);
gchar *trg_client_get_session_id(TrgClient *tc);
void trg_client_set_session_id(TrgClient *tc, gchar *session_id);
+#ifndef CURL_NO_SSL
gboolean trg_client_get_ssl(TrgClient *tc);
+#endif
gchar *trg_client_get_proxy(TrgClient *tc);
gint64 trg_client_get_serial(TrgClient *tc);
void trg_client_thread_pool_push(TrgClient *tc, gpointer data, GError **err);