From 562d7fdb619f591bd4ab622d878f87bcf2c72724 Mon Sep 17 00:00:00 2001 From: xperia64 Date: Thu, 3 Dec 2015 00:20:04 +0000 Subject: [PATCH] Add symbolic link support --- src/platform/posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/posix.c b/src/platform/posix.c index 98cffb1bd7..e259dd9470 100644 --- a/src/platform/posix.c +++ b/src/platform/posix.c @@ -351,7 +351,7 @@ static int dirfilter(const struct dirent *d) return 0; } #if defined(_DIRENT_HAVE_D_TYPE) || defined(DT_UNKNOWN) - if (d->d_type == DT_DIR) + if (d->d_type == DT_DIR || d->d_type == DT_LNK) { return 1; } else {