summaryrefslogtreecommitdiff
path: root/src/fe-common/core
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2017-07-29 12:30:27 +0100
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2017-07-29 23:52:23 +0100
commit8c04c2be14fc053bd7b5ff03b8e4ba8cb5023700 (patch)
tree1feebdf5f9b40544f904cc0917456b260b64d5ab /src/fe-common/core
parent12e2c46d6a778f131c1ca6a7134af1cd5e722dbe (diff)
downloadirssi-8c04c2be14fc053bd7b5ff03b8e4ba8cb5023700.zip
Fix build without Capsicum.
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
Diffstat (limited to 'src/fe-common/core')
-rw-r--r--src/fe-common/core/fe-common-core.c4
1 files changed, 4 insertions, 0 deletions
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();