From: Matthew Jordan Date: Mon, 27 Oct 2014 01:46:47 +0000 (+0000) Subject: res/res_srtp: Fix include issue for libsrtp 1.5.0 X-Git-Tag: 12.7.0-rc1~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc5f4d69f275aa001fef1236f2b7fc78cb638c1a;p=thirdparty%2Fasterisk.git res/res_srtp: Fix include issue for libsrtp 1.5.0 In libsrtp 1.5.0, crypto_get_random is no longer resolved simply by including srtp.h. Now, one must include crypto_kernel.h as well. As it turns out, this header file has been provided by the library since 2006, so this is a relatively benign change. ASTERISK-24436 #close Reported by: Patrick Laimbock ........ Merged revisions 426140 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 426141 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@426142 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/res/res_srtp.c b/res/res_srtp.c index 48c69a3e57..54ce9e77d8 100644 --- a/res/res_srtp.c +++ b/res/res_srtp.c @@ -40,6 +40,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include +#include #include "asterisk/lock.h" #include "asterisk/sched.h"