diff options
-rwxr-xr-x | res/res_monitor.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/res/res_monitor.c b/res/res_monitor.c index 3d7217090..d0551221f 100755 --- a/res/res_monitor.c +++ b/res/res_monitor.c @@ -15,8 +15,10 @@ #include <asterisk/manager.h> #include <asterisk/cli.h> #include <asterisk/monitor.h> +#include "../asterisk.h" +#include "../astconf.h" -#define AST_MONITOR_DIR INSTALL_PREFIX "/var/spool/asterisk/monitor" +#define AST_MONITOR_DIR AST_SPOOL_DIR "/monitor" static ast_mutex_t monitorlock = AST_MUTEX_INITIALIZER; |