Module: kamailio
Branch: master
Commit: 74dd23adc125ee2e3e9f31a4d33a9fd687638a21
URL:
https://github.com/kamailio/kamailio/commit/74dd23adc125ee2e3e9f31a4d33a9fd…
Author: Henning Westerholt <hw(a)skalatan.de>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2019-08-25T13:26:34+02:00
tls: remove core stats.h #include, add necessary system #include for open(..)
---
Modified: src/modules/tls/tls_config.c
---
Diff:
https://github.com/kamailio/kamailio/commit/74dd23adc125ee2e3e9f31a4d33a9fd…
Patch:
https://github.com/kamailio/kamailio/commit/74dd23adc125ee2e3e9f31a4d33a9fd…
---
diff --git a/src/modules/tls/tls_config.c b/src/modules/tls/tls_config.c
index 72ed987360..4c7d2963ab 100644
--- a/src/modules/tls/tls_config.c
+++ b/src/modules/tls/tls_config.c
@@ -36,10 +36,11 @@
#include "../../core/trim.h"
#include "../../core/ut.h"
#include "../../core/cfg/cfg.h"
-#include "../../core/stats.h"
#include <dirent.h>
+#include <sys/types.h>
#include <sys/stat.h>
+#include <fcntl.h>
static tls_domains_cfg_t* _ksr_tls_cfg = NULL;
static tls_domain_t* _ksr_tls_domain = NULL;