1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-01-12 02:59:08 +00:00

Fix building with --disable-iostats

This commit is contained in:
Nikolas Garofil 2009-11-07 13:21:47 +01:00
parent 74145a7fef
commit 68ca9485da

View File

@ -948,9 +948,11 @@ void print_top(struct text_object *obj, char *p, int top_name_width)
case OBJ_top_time: case OBJ_top_time:
needed = cur->time; needed = cur->time;
break; break;
#ifdef IOSTATS
case OBJ_top_io: case OBJ_top_io:
needed = cur->io; needed = cur->io;
break; break;
#endif /* IOSTATS */
default: default:
return; return;
} }