]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
res/res_hep_rtcp: Remove dependency on PJSIP
authorMatthew Jordan <mjordan@digium.com>
Thu, 14 Aug 2014 21:15:44 +0000 (21:15 +0000)
committerMatthew Jordan <mjordan@digium.com>
Thu, 14 Aug 2014 21:15:44 +0000 (21:15 +0000)
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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@421064 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_hep_rtcp.c

index 63df1c8b06f65facb54d96be74fab4a38306eeb2..fafe96a52d18ba6852f1e6b45290094434b686b2 100644 (file)
@@ -34,8 +34,6 @@
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
-#include <pjsip.h>
-
 #include "asterisk/res_hep.h"
 #include "asterisk/module.h"
 #include "asterisk/netsock2.h"