aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2018-09-25 14:35:43 +0200
committerAndreas Schneider <asn@cryptomilk.org>2018-09-25 14:37:25 +0200
commitf709c3ac585f7b47317758b8693a6d104b30f951 (patch)
tree891ef2c5828fcb73cab5cf691021e9b971bcc4a3
parentae2b9a3bde5f6a596029383ec19ad0fe9ff639ea (diff)
downloadlibssh-f709c3ac585f7b47317758b8693a6d104b30f951.tar.gz
libssh-f709c3ac585f7b47317758b8693a6d104b30f951.tar.xz
libssh-f709c3ac585f7b47317758b8693a6d104b30f951.zip
config: Fix building without globbing support
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r--src/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.c b/src/config.c
index df6b48bf..3d87a178 100644
--- a/src/config.c
+++ b/src/config.c
@@ -462,7 +462,7 @@ static int ssh_config_parse_line(ssh_session session, const char *line,
p = ssh_config_get_str_tok(&s, NULL);
if (p && *parsing) {
-#ifdef HAVE_GLOB
+#if defined(HAVE_GLOB) && defined(HAVE_GLOB_GL_FLAGS_MEMBER)
local_parse_glob(session, p, parsing, seen);
#else
local_parse_file(session, p, parsing, seen);