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

Kevin Harwell asteriskteam at digium.com
Wed Aug 25 18:04:37 CDT 2021


Kevin Harwell has submitted this change. ( https://gerrit.asterisk.org/c/asterisk/+/16353 )

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(-)

Approvals:
  Sean Bright: Looks good to me, approved
  Benjamin Keith Ford: Looks good to me, but someone else must approve
  Kevin Harwell: Approved for Submit



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/+/16353
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I6c01623926bf10ccac32612687a50fdab3ba0900
Gerrit-Change-Number: 16353
Gerrit-PatchSet: 2
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: Benjamin Keith Ford <bford at digium.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-Reviewer: Sean Bright <sean at seanbright.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20210825/49d1fd19/attachment-0001.html>


More information about the asterisk-code-review mailing list