From ca9872278b11f26f9186701914b8cbb926b73330 Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Mon, 26 Mar 2007 15:16:29 +0000 Subject: [PATCH] Have ast_copy_string magically appear in the aelparse binary! DONT_OPTIMIZE should now work once again. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59200 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- pbx/ael/ael_lex.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pbx/ael/ael_lex.c b/pbx/ael/ael_lex.c index 32296d41d9..3a9ffc9601 100644 --- a/pbx/ael/ael_lex.c +++ b/pbx/ael/ael_lex.c @@ -17,6 +17,10 @@ /* First, we deal with platform-specific or compiler-specific issues. */ #include "asterisk.h" +#ifdef STANDALONE_AEL +#define AST_API_MODULE +#include "asterisk/strings.h" +#endif /* begin standard C headers. */ #include #include