summaryrefslogtreecommitdiff
path: root/includes.h
diff options
context:
space:
mode:
authordtucker <dtucker>2009-08-20 06:16:01 +0000
committerdtucker <dtucker>2009-08-20 06:16:01 +0000
commita89818e680f363d73136df1c8289af52fb05f6da (patch)
tree23a356d8af180e624844a14322ea1b8f1d3eee71 /includes.h
parent3eb0d3bceef5f359ca1ad0becae4b4167a559a5a (diff)
downloadopenssh-a89818e680f363d73136df1c8289af52fb05f6da.tar.gz
- (dtucker) [includes.h] Bug #1634: do not include system glob.h if we're not
using it since the type conflicts can cause problems on FreeBSD. Patch from Jonathan Chen.
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