[sr-dev] git:master:74dd23ad: tls: remove core stats.h #include, add necessary system #include for open(..)

Henning Westerholt hw at skalatan.de
Sun Aug 25 13:28:29 CEST 2019


Module: kamailio
Branch: master
Commit: 74dd23adc125ee2e3e9f31a4d33a9fd687638a21
URL: https://github.com/kamailio/kamailio/commit/74dd23adc125ee2e3e9f31a4d33a9fd687638a21

Author: Henning Westerholt <hw at skalatan.de>
Committer: Henning Westerholt <hw at 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/74dd23adc125ee2e3e9f31a4d33a9fd687638a21.diff
Patch: https://github.com/kamailio/kamailio/commit/74dd23adc125ee2e3e9f31a4d33a9fd687638a21.patch

---

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;




More information about the sr-dev mailing list