aboutsummaryrefslogtreecommitdiff
path: root/libsylph/mh.c
diff options
context:
space:
mode:
Diffstat (limited to 'libsylph/mh.c')
-rw-r--r--libsylph/mh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsylph/mh.c b/libsylph/mh.c
index 12c1c966..b677f9fc 100644
--- a/libsylph/mh.c
+++ b/libsylph/mh.c
@@ -1520,7 +1520,7 @@ static void mh_scan_tree_recursive(FolderItem *item)
#else
#if HAVE_DIRENT_D_TYPE
d->d_type == DT_DIR ||
- (d->d_type == DT_UNKNOWN &&
+ ((d->d_type == DT_UNKNOWN || d->d_type == DT_LNK) &&
#endif
g_stat(entry, &s) == 0 && S_ISDIR(s.st_mode)
#if HAVE_DIRENT_D_TYPE