summaryrefslogtreecommitdiffstats
path: root/includes.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes.h')
-rw-r--r--includes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes.h b/includes.h
index f1b47f66..6bb98780 100644
--- a/includes.h
+++ b/includes.h
@@ -31,7 +31,8 @@
#endif
#if defined(HAVE_GLOB_H) && defined(GLOB_HAS_ALTDIRFUNC) && \
defined(GLOB_HAS_GL_MATCHC) && \
- defined(HAVE_DECL_GLOB_NOMATCH) && HAVE_DECL_GLOB_NOMATCH != 0
+ defined(HAVE_DECL_GLOB_NOMATCH) && HAVE_DECL_GLOB_NOMATCH != 0 && \
+ !defined(BROKEN_GLOB)
# include <glob.h>
#endif
#ifdef HAVE_ENDIAN_H