summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/openbsd-compat/glob.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/openbsd-compat/glob.h')
-rw-r--r--crypto/openssh/openbsd-compat/glob.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/openssh/openbsd-compat/glob.h b/crypto/openssh/openbsd-compat/glob.h
index 4fdbfc1..9ba07f7 100644
--- a/crypto/openssh/openbsd-compat/glob.h
+++ b/crypto/openssh/openbsd-compat/glob.h
@@ -38,7 +38,8 @@
/* OPENBSD ORIGINAL: include/glob.h */
#if !defined(HAVE_GLOB_H) || !defined(GLOB_HAS_ALTDIRFUNC) || \
- !defined(GLOB_HAS_GL_MATCHC)
+ !defined(GLOB_HAS_GL_MATCHC) || \
+ !defined(HAVE_DECL_GLOB_NOMATCH) || HAVE_DECL_GLOB_NOMATCH == 0
#ifndef _GLOB_H_
#define _GLOB_H_
OpenPOWER on IntegriCloud