ps: fix build failure in !DESKTOP case

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2012-09-25 12:48:10 +02:00
parent 2fb8d0dee9
commit 42be921d48

View File

@ -655,9 +655,9 @@ int ps_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
time_t now = now; time_t now = now;
long uptime; long uptime;
#endif #endif
int opts = 0;
/* If we support any options, parse argv */ /* If we support any options, parse argv */
#if ENABLE_SELINUX || ENABLE_FEATURE_SHOW_THREADS || ENABLE_FEATURE_PS_WIDE || ENABLE_FEATURE_PS_LONG #if ENABLE_SELINUX || ENABLE_FEATURE_SHOW_THREADS || ENABLE_FEATURE_PS_WIDE || ENABLE_FEATURE_PS_LONG
int opts = 0;
# if ENABLE_FEATURE_PS_WIDE # if ENABLE_FEATURE_PS_WIDE
/* -w is a bit complicated */ /* -w is a bit complicated */
int w_count = 0; int w_count = 0;