diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/ast_expr.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/asterisk/ast_expr.h b/include/asterisk/ast_expr.h index bc0331309..6ca201f42 100644 --- a/include/asterisk/ast_expr.h +++ b/include/asterisk/ast_expr.h @@ -18,12 +18,14 @@ #ifndef _ASTERISK_EXPR_H #define _ASTERISK_EXPR_H - +#ifndef STANDALONE +#include "asterisk/channel.h" +#endif #if defined(__cplusplus) || defined(c_plusplus) extern "C" { #endif -int ast_expr(char *expr, char *buf, int length); +int ast_expr(char *expr, char *buf, int length, struct ast_channel *chan); #if defined(__cplusplus) || defined(c_plusplus) } |