diff options
author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2017-07-29 12:30:27 +0100 |
---|---|---|
committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2017-07-29 23:52:23 +0100 |
commit | 8c04c2be14fc053bd7b5ff03b8e4ba8cb5023700 (patch) | |
tree | 1feebdf5f9b40544f904cc0917456b260b64d5ab /src | |
parent | 12e2c46d6a778f131c1ca6a7134af1cd5e722dbe (diff) | |
download | irssi-8c04c2be14fc053bd7b5ff03b8e4ba8cb5023700.zip |
Fix build without Capsicum.
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/core/core.c | 4 | ||||
-rw-r--r-- | src/fe-common/core/fe-common-core.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/core/core.c b/src/core/core.c index 72631f91..c95879de 100644 --- a/src/core/core.c +++ b/src/core/core.c @@ -236,7 +236,9 @@ void core_init(void) commands_init(); nickmatch_cache_init(); session_init(); +#ifdef HAVE_CAPSICUM capsicum_init(); +#endif chat_protocols_init(); chatnets_init(); @@ -294,7 +296,9 @@ void core_deinit(void) chatnets_deinit(); chat_protocols_deinit(); +#ifdef HAVE_CAPSICUM capsicum_deinit(); +#endif session_deinit(); nickmatch_cache_deinit(); commands_deinit(); diff --git a/src/fe-common/core/fe-common-core.c b/src/fe-common/core/fe-common-core.c index a0388827..67c9e20c 100644 --- a/src/fe-common/core/fe-common-core.c +++ b/src/fe-common/core/fe-common-core.c @@ -180,7 +180,9 @@ void fe_common_core_init(void) fe_server_init(); fe_settings_init(); fe_tls_init(); +#ifdef HAVE_CAPSICUM fe_capsicum_init(); +#endif windows_init(); window_activity_init(); window_commands_init(); @@ -223,7 +225,9 @@ void fe_common_core_deinit(void) fe_server_deinit(); fe_settings_deinit(); fe_tls_deinit(); +#ifdef HAVE_CAPSICUM fe_capsicum_deinit(); +#endif windows_deinit(); window_activity_deinit(); window_commands_deinit(); |