Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/bind_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,14 @@ static void local_parse_glob(ssh_bind bind,
uint8_t *seen,
unsigned int depth)
{
#ifdef __FILC__
/* FilC's libc provides glob_t without the non-standard gl_flags member. */
glob_t globbuf = {0};
#else
glob_t globbuf = {
.gl_flags = 0,
};
#endif
int rt;
u_int i;

Expand Down
5 changes: 5 additions & 0 deletions src/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,14 @@ static void local_parse_glob(ssh_session session,
unsigned int depth,
bool global)
{
#ifdef __FILC__
/* FilC's libc provides glob_t without the non-standard gl_flags member. */
glob_t globbuf = {0};
#else
glob_t globbuf = {
.gl_flags = 0,
};
#endif
int rt;
size_t i;

Expand Down