summaryrefslogtreecommitdiff
path: root/res/res_monitor.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2014-04-23 15:02:39 +0000
committerRussell Bryant <russell@russellbryant.com>2014-04-23 15:02:39 +0000
commit4b9b4790d95624152b2b0f0e474a9290c94516a6 (patch)
tree6c15385187b74e083f65bbce9960856617f2c2ac /res/res_monitor.c
parent9b71a87108e8547f2bd02e5d685cd502bf4e822a (diff)
Fix error loading res_monitor.
For some odd reason, loading app_mixmonitor was fine, but res_monitor was not. This patch fixes a set of issues related to func_periodic_hook exporting the beep functions that gets res_monitor working again. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@412910 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_monitor.c')
-rw-r--r--res/res_monitor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/res_monitor.c b/res/res_monitor.c
index f81507285..8181b867f 100644
--- a/res/res_monitor.c
+++ b/res/res_monitor.c
@@ -46,6 +46,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/stasis_channels.h"
#define AST_API_MODULE
#include "asterisk/monitor.h"
+#undef AST_API_MODULE
#include "asterisk/app.h"
#include "asterisk/utils.h"
#include "asterisk/config.h"