aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/xmlrpc-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2/xmlrpc-client.c')
-rw-r--r--hardinfo2/xmlrpc-client.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hardinfo2/xmlrpc-client.c b/hardinfo2/xmlrpc-client.c
index 9e71ba5b..d363729b 100644
--- a/hardinfo2/xmlrpc-client.c
+++ b/hardinfo2/xmlrpc-client.c
@@ -21,6 +21,7 @@
#include "config.h"
#include "xmlrpc-client.h"
+#ifdef HAS_LIBSOUP
static GMainLoop *loop = NULL;
static SoupSession *session = NULL;
static gboolean lock = FALSE;
@@ -241,3 +242,6 @@ GValueArray *xmlrpc_get_array(gchar *addr,
return answer;
}
+
+#endif /* HAS_LIBSOUP */
+