diff options
Diffstat (limited to 'main/ast_expr2.fl')
-rw-r--r-- | main/ast_expr2.fl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/main/ast_expr2.fl b/main/ast_expr2.fl index a6b5dc1d4..0749686fa 100644 --- a/main/ast_expr2.fl +++ b/main/ast_expr2.fl @@ -22,10 +22,12 @@ * \brief Dialplan Expression Lexical Scanner */ +#include "asterisk.h" + #include <sys/types.h> #include <stdio.h> -#if !defined(STANDALONE) +#ifndef STANDALONE ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #else #ifndef __USE_ISOC99 @@ -273,7 +275,7 @@ int ast_expr(char *expr, char *buf, int length, struct ast_channel *chan) return_value = (res_length <= length) ? res_length : length; } else { if (io.val->u.s) -#if defined(STANDALONE) || defined(LOW_MEMORY) || defined(STANDALONE) +#if defined(STANDALONE) || defined(LOW_MEMORY) || defined(STANDALONE_AEL) strncpy(buf, io.val->u.s, length - 1); #else /* !STANDALONE && !LOW_MEMORY */ ast_copy_string(buf, io.val->u.s, length); |