Added boot_time. Added missing #include.
* uptime.c: (glibtop_get_uptime_p): Added boot_time. Added missing #include.
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
2004-05-25 Benoît Dejean <tazforever@dlfp.org>
|
2004-05-25 Benoît Dejean <tazforever@dlfp.org>
|
||||||
|
|
||||||
* uptime.c: (glibtop_get_uptime_p): Added boot_time.
|
* uptime.c: (glibtop_get_uptime_p): Added boot_time.
|
||||||
|
Added missing #include.
|
||||||
|
|
||||||
2004-03-09 Bastien Nocera <hadess@hadess.net>
|
2004-03-09 Bastien Nocera <hadess@hadess.net>
|
||||||
|
|
||||||
|
|||||||
@@ -27,6 +27,8 @@
|
|||||||
|
|
||||||
#include <glibtop_suid.h>
|
#include <glibtop_suid.h>
|
||||||
|
|
||||||
|
#include <time.h>
|
||||||
|
|
||||||
static const unsigned long _glibtop_sysdeps_uptime =
|
static const unsigned long _glibtop_sysdeps_uptime =
|
||||||
(1 << GLIBTOP_UPTIME_UPTIME) + (1 << GLIBTOP_UPTIME_IDLETIME);
|
(1 << GLIBTOP_UPTIME_UPTIME) + (1 << GLIBTOP_UPTIME_IDLETIME);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user