summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-08-14 18:29:32 +0200
committerSebastien Helleu <flashcode@flashtux.org>2012-08-14 18:29:32 +0200
commita99d136018eae1099ffa32b660259632694ee6ed (patch)
treeca67b7cc3a7422461ce4acf53342a01ed67cb159 /src/core
parent3a245686caa30294a6b5cfefa78ee92513c56daa (diff)
downloadweechat-a99d136018eae1099ffa32b660259632694ee6ed.zip
core: add new plugin "script" (scripts manager, replacing scripts weeget.py and script.pl)
Diffstat (limited to 'src/core')
-rw-r--r--src/core/wee-network.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/core/wee-network.c b/src/core/wee-network.c
index 97d2d5e23..6b2480243 100644
--- a/src/core/wee-network.c
+++ b/src/core/wee-network.c
@@ -37,15 +37,12 @@
#include <arpa/inet.h>
#include <netdb.h>
#include <errno.h>
+#include <gcrypt.h>
#ifdef HAVE_GNUTLS
#include <gnutls/gnutls.h>
#endif
-#ifdef HAVE_GCRYPT
-#include <gcrypt.h>
-#endif
-
#include "weechat.h"
#include "wee-network.h"
#include "wee-hook.h"
@@ -121,14 +118,12 @@ network_init ()
}
#endif /* HAVE_GNUTLS */
-#ifdef HAVE_GCRYPT
if (!weechat_no_gcrypt)
{
gcry_check_version (GCRYPT_VERSION);
gcry_control (GCRYCTL_DISABLE_SECMEM, 0);
gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0);
}
-#endif /* HAVE_GCRYPT */
network_init_ok = 1;
}