From: Joshua Colp Date: Mon, 26 Mar 2007 15:16:29 +0000 (+0000) Subject: Have ast_copy_string magically appear in the aelparse binary! DONT_OPTIMIZE should... X-Git-Tag: 1.4.7.1~532 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ca9872278b11f26f9186701914b8cbb926b73330;p=thirdparty%2Fasterisk.git 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 --- 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