From: Matt Kraai Date: Sat, 28 Oct 2000 01:21:22 +0000 (-0000) Subject: We also need to declare info if the USERNAMES feature is enabled. X-Git-Tag: 0_48~137 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b273d6651813363d95fd08686d380db8eacf87c1;p=oweals%2Fbusybox.git We also need to declare info if the USERNAMES feature is enabled. --- diff --git a/coreutils/ls.c b/coreutils/ls.c index 4377256f6..b7329dfdf 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c @@ -433,7 +433,7 @@ void showdirs(struct dnode **dn, int ndirs) { int i, nfiles; struct dnode **subdnp; -#ifdef BB_FEATURE_LS_SORTFILES +#ifdef BB_FEATURE_LS_RECURSIVE int dndirs; struct dnode **dnd; #endif @@ -529,8 +529,10 @@ int list_single(struct dnode *dn) char *filetime; time_t ttime, age; #endif -#ifdef BB_FEATURE_LS_FILETYPES +#if defined (BB_FEATURE_LS_FILETYPES) || defined (BB_FEATURE_LS_USERNAME) struct stat info; +#endif +#ifdef BB_FEATURE_LS_FILETYPES char append; #endif diff --git a/ls.c b/ls.c index 4377256f6..b7329dfdf 100644 --- a/ls.c +++ b/ls.c @@ -433,7 +433,7 @@ void showdirs(struct dnode **dn, int ndirs) { int i, nfiles; struct dnode **subdnp; -#ifdef BB_FEATURE_LS_SORTFILES +#ifdef BB_FEATURE_LS_RECURSIVE int dndirs; struct dnode **dnd; #endif @@ -529,8 +529,10 @@ int list_single(struct dnode *dn) char *filetime; time_t ttime, age; #endif -#ifdef BB_FEATURE_LS_FILETYPES +#if defined (BB_FEATURE_LS_FILETYPES) || defined (BB_FEATURE_LS_USERNAME) struct stat info; +#endif +#ifdef BB_FEATURE_LS_FILETYPES char append; #endif