diff --git a/res/res_monitor.c b/res/res_monitor.c index 3d7217090c..d0551221f4 100755 --- a/res/res_monitor.c +++ b/res/res_monitor.c @@ -15,8 +15,10 @@ #include #include #include +#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;