From 0ae7e8020647dafaa382d7a9e82e46f2d63c132a Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Tue, 8 Sep 2009 10:28:56 -0300 Subject: Cleanups --- hardinfo2/xmlrpc-client.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'hardinfo2/xmlrpc-client.c') 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 */ + -- cgit v1.2.3