diff options
Diffstat (limited to 'res/ael/ael.flex')
-rw-r--r-- | res/ael/ael.flex | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/res/ael/ael.flex b/res/ael/ael.flex index 4b29b5a6b..5408d3e30 100644 --- a/res/ael/ael.flex +++ b/res/ael/ael.flex @@ -66,11 +66,12 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> +#include <glob.h> -#if defined(__Darwin__) || defined(__CYGWIN__) +#if !defined(GLOB_ABORTED) #define GLOB_ABORTED GLOB_ABEND #endif -# include <glob.h> + #include "asterisk/logger.h" #include "asterisk/utils.h" #include "asterisk/lock.h" |