From f0d90d1831e877c943ed536b69e3d41a93058e53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Ned=C5=BEibovi=C4=87?= Date: Fri, 29 Jan 2021 13:30:31 +0100 Subject: [PATCH] Add missing includes. --- daemon/dtmf.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/daemon/dtmf.c b/daemon/dtmf.c index 84f3f350a..8edfc0925 100644 --- a/daemon/dtmf.c +++ b/daemon/dtmf.c @@ -1,5 +1,7 @@ #include #include "dtmf.h" +#include "bencode.h" +#include "control_ng.h" #include "media_socket.h" #include "log.h" #include "call.h" @@ -9,11 +11,10 @@ #include "codec.h" #include "ssrc.h" - - static socket_t dtmf_log_sock; void dtmf_init(void) { + ilog(LOG_DEBUG, "log dtmf over ng %d", rtpe_config.dtmf_via_ng); if (rtpe_config.dtmf_udp_ep.port) { if (connect_socket(&dtmf_log_sock, SOCK_DGRAM, &rtpe_config.dtmf_udp_ep)) ilog(LOG_ERR, "Failed to open/connect DTMF logging socket: %s", strerror(errno));