]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
res_rtp_asterisk: sqrt(.) requires the header math.h.
authorAlexander Traud <pabstraud@compuserve.com>
Wed, 25 Aug 2021 14:23:27 +0000 (16:23 +0200)
committerAlexander Traud <pabstraud@compuserve.com>
Wed, 25 Aug 2021 14:24:29 +0000 (09:24 -0500)
ASTERISK-29616

Change-Id: I6c01623926bf10ccac32612687a50fdab3ba0900

res/res_rtp_asterisk.c

index e5bef24258ba2a6a56681104729c1200f0ed78da..5227e94fff82e2ee8f022c335dc7bdf27f1fa76d 100644 (file)
@@ -39,6 +39,7 @@
 #include <sys/time.h>
 #include <signal.h>
 #include <fcntl.h>
+#include <math.h>
 
 #ifdef HAVE_OPENSSL
 #include <openssl/opensslconf.h>