aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/ssh-conn.h
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2/ssh-conn.h')
-rw-r--r--hardinfo2/ssh-conn.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/hardinfo2/ssh-conn.h b/hardinfo2/ssh-conn.h
index 654f90c3..b1b0a9ca 100644
--- a/hardinfo2/ssh-conn.h
+++ b/hardinfo2/ssh-conn.h
@@ -25,6 +25,8 @@
#ifndef __SSH_CONN_H__
#define __SSH_CONN_H__
+#include "config.h"
+#ifdef HAS_LIBSOUP
#include <libsoup/soup.h>
typedef struct _SSHConn SSHConn;
@@ -60,5 +62,5 @@ int ssh_write(SSHConn * conn,
int ssh_read(gint fd, gpointer buffer, gint num_bytes, gint * bytes_read);
const char *ssh_conn_errors[10];
-
+#endif /* HAS_LIBSOUP */
#endif /* __SSH_CONN_H__ */