From bbcd5fbe2242ee053f04aba7b766f0bb37f81b31 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sat, 7 Nov 2009 23:42:38 +0100 Subject: Fix compilation error when gnutls lib is not installed --- src/plugins/irc/irc-server.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/plugins/irc/irc-server.h b/src/plugins/irc/irc-server.h index 137278e38..c0214fd6b 100644 --- a/src/plugins/irc/irc-server.h +++ b/src/plugins/irc/irc-server.h @@ -114,7 +114,9 @@ struct t_irc_server struct t_hook *hook_fd; /* hook for server socket */ int is_connected; /* 1 if WeeChat is connected to server */ int ssl_connected; /* = 1 if connected with SSL */ +#ifdef HAVE_GNUTLS gnutls_session_t gnutls_sess; /* gnutls session (only if SSL is used) */ +#endif char *unterminated_message; /* beginning of a message in input buf */ int nicks_count; /* number of nicknames */ char **nicks_array; /* nicknames (after split) */ -- cgit v1.2.3