[svn-commits] mjordan: branch 12 r421064 - /branches/12/res/res_hep_rtcp.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Aug 14 16:15:46 CDT 2014


Author: mjordan
Date: Thu Aug 14 16:15:44 2014
New Revision: 421064

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=421064
Log:
res/res_hep_rtcp: Remove dependency on PJSIP

The res_hep_rtcp module was incorrectly including <pjsip.h>. This didn't need
to be included, as the module does not using PJPROJECT any fashion.
Unfortunately, because res_hep_rtcp did not include pjsip in its MODULEINFO as
a dependency, this also meant that res_hep_rtcp will fail to compile on a
system without PJPROJECT.

This patch removes the include.

Thanks to Damien Wedhorn for pointing this out in #asterisk-dev.

ASTERISK-24236 #close
Reported by: Damien Wedhorn, Matt Jordan
Tested by: Damien Wedhorn

Modified:
    branches/12/res/res_hep_rtcp.c

Modified: branches/12/res/res_hep_rtcp.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/res/res_hep_rtcp.c?view=diff&rev=421064&r1=421063&r2=421064
==============================================================================
--- branches/12/res/res_hep_rtcp.c (original)
+++ branches/12/res/res_hep_rtcp.c Thu Aug 14 16:15:44 2014
@@ -33,8 +33,6 @@
 #include "asterisk.h"
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <pjsip.h>
 
 #include "asterisk/res_hep.h"
 #include "asterisk/module.h"




More information about the svn-commits mailing list