{
int i, nfiles;
struct dnode **subdnp;
-#ifdef BB_FEATURE_LS_SORTFILES
+#ifdef BB_FEATURE_LS_RECURSIVE
int dndirs;
struct dnode **dnd;
#endif
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
{
int i, nfiles;
struct dnode **subdnp;
-#ifdef BB_FEATURE_LS_SORTFILES
+#ifdef BB_FEATURE_LS_RECURSIVE
int dndirs;
struct dnode **dnd;
#endif
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