aboutsummaryrefslogtreecommitdiffstats
path: root/pbx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pbx/Makefile')
-rw-r--r--pbx/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/pbx/Makefile b/pbx/Makefile
index acecdccac..8d29bfbbf 100644
--- a/pbx/Makefile
+++ b/pbx/Makefile
@@ -44,6 +44,7 @@ $(if $(filter pbx_ael,$(EMBEDDED_MODS)),modules.link,pbx_ael.so): ael/ael.tab.o
ael/ael_lex.c:
(cd ael; flex ael.flex; sed -i -e "/begin standard C headers/i#include \"asterisk.h\"" ael_lex.c)
+ (cd ael; sed 's@#if __STDC_VERSION__ >= 199901L@#if !defined __STDC_VERSION__ || __STDC_VERSION__ >= 199901L@' ael_lex.c > zz; mv zz ael_lex.c)
ael/ael.tab.c ael/ael.tab.h:
(cd ael; bison -v -d ael.y)