Added boot_time. Added missing #include.

* uptime.c: (glibtop_get_uptime_p): Added boot_time.
	Added missing #include.
This commit is contained in:
Benoît Dejean
2004-05-25 14:44:45 +00:00
parent 1faa40ce18
commit b15f542bfc
2 changed files with 3 additions and 0 deletions

View File

@@ -27,6 +27,8 @@
#include <glibtop_suid.h>
#include <time.h>
static const unsigned long _glibtop_sysdeps_uptime =
(1 << GLIBTOP_UPTIME_UPTIME) + (1 << GLIBTOP_UPTIME_IDLETIME);