[Asterisk-code-review] res_rtp_asterisk: sqrt(.) requires the header math.h. (asterisk[19])

Alexander Traud asteriskteam at digium.com
Wed Aug 25 09:24:31 CDT 2021


Alexander Traud has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/16373 )


Change subject: res_rtp_asterisk: sqrt(.) requires the header math.h.
......................................................................

res_rtp_asterisk: sqrt(.) requires the header math.h.

ASTERISK-29616

Change-Id: I6c01623926bf10ccac32612687a50fdab3ba0900
---
M res/res_rtp_asterisk.c
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/73/16373/1

diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c
index e5bef24..5227e94 100644
--- a/res/res_rtp_asterisk.c
+++ b/res/res_rtp_asterisk.c
@@ -39,6 +39,7 @@
 #include <sys/time.h>
 #include <signal.h>
 #include <fcntl.h>
+#include <math.h>
 
 #ifdef HAVE_OPENSSL
 #include <openssl/opensslconf.h>

-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/16373
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 19
Gerrit-Change-Id: I6c01623926bf10ccac32612687a50fdab3ba0900
Gerrit-Change-Number: 16373
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20210825/669c1436/attachment-0001.html>


More information about the asterisk-code-review mailing list