From 797695c5ccbfb242f763d552921a23ce03b779ff Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Fri, 3 Jun 2016 08:39:02 +0300 Subject: Make use of GLOB_BRACE and GLOB_NOMAGIC optional These flags are non-portable GNU extensions. Make their use optional. This fixes complication error on e.g. musl c-library based systems. Change-Id: I0aa06efc62aa8995f091445c8b762a75a91042f3 --- res/ael/ael.flex | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'res/ael/ael.flex') diff --git a/res/ael/ael.flex b/res/ael/ael.flex index b1b2bd76d..4e87f3a40 100644 --- a/res/ael/ael.flex +++ b/res/ael/ael.flex @@ -80,6 +80,12 @@ ASTERISK_REGISTER_FILE() #if !defined(GLOB_ABORTED) #define GLOB_ABORTED GLOB_ABEND #endif +#if !defined(GLOB_BRACE) +#define GLOB_BRACE 0 +#endif +#if !defined(GLOB_NOMAGIC) +#define GLOB_NOMAGIC 0 +#endif #include "asterisk/logger.h" #include "asterisk/utils.h" -- cgit v1.2.3