From: Matthew Jordan Date: Mon, 27 Oct 2014 01:46:02 +0000 (+0000) Subject: res/res_srtp: Fix include issue for libsrtp 1.5.0 X-Git-Tag: 11.14.0-rc1~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1d0cb5daa664542b26750c5f1cdd612af18444e;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 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@426141 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"