summaryrefslogtreecommitdiffstats
path: root/txr.c
diff options
context:
space:
mode:
Diffstat (limited to 'txr.c')
-rw-r--r--txr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/txr.c b/txr.c
index d614a5de..fd96d9a8 100644
--- a/txr.c
+++ b/txr.c
@@ -41,6 +41,7 @@
#include "match.h"
#include "utf8.h"
#include "debug.h"
+#include "syslog.h"
#include "txr.h"
const wchli_t *version = wli("71");
@@ -162,6 +163,9 @@ int main(int argc, char **argv)
match_init();
parse_init();
debug_init();
+#if HAVE_SYSLOG
+ syslog_init();
+#endif
return txr_main(argc, argv);
}