From 5daaae50763dba0e91d9f80d4b341ee413d22796 Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Sun, 23 May 2021 11:48:06 -0400 Subject: file_cmds: Fix compilation for lower targets --- file_cmds/ls/ls.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'file_cmds/ls/ls.c') diff --git a/file_cmds/ls/ls.c b/file_cmds/ls/ls.c index 50fb91c..0a6b1a0 100644 --- a/file_cmds/ls/ls.c +++ b/file_cmds/ls/ls.c @@ -561,10 +561,12 @@ traverse(int argc, char *argv[], int options) break; } +#ifdef SF_DATALESS if (IS_DATALESS(p->fts_statp)) { fts_set(ftsp, p, FTS_SKIP); break; } +#endif /* * If already output something, put out a newline as @@ -857,9 +859,11 @@ display(FTSENT *p, FTSENT *list) } else { np->mode_suffix = ' '; } +#ifdef SF_DATALESS if (IS_DATALESS(sp)) { np->mode_suffix = '%'; } +#endif if (!f_acl) { acl_free(np->acl); np->acl = NULL; -- cgit v1.2.3-56-ge451