diff options
author | Karel Zak | 2014-05-06 13:16:05 +0200 |
---|---|---|
committer | Karel Zak | 2014-05-06 13:16:05 +0200 |
commit | 08ca3e26a8feb0353a960b6b6d20ccb2755db8af (patch) | |
tree | 68dd836cdb30cf752643f047b4f6548a4065d409 /login-utils/last.c | |
parent | hwclock: fix typo (diff) | |
download | kernel-qcow2-util-linux-08ca3e26a8feb0353a960b6b6d20ccb2755db8af.tar.gz kernel-qcow2-util-linux-08ca3e26a8feb0353a960b6b6d20ccb2755db8af.tar.xz kernel-qcow2-util-linux-08ca3e26a8feb0353a960b6b6d20ccb2755db8af.zip |
lib/timeutils: remove get_boot_time from libcommon
clock_gettime() needs -lrt, so let's keep this stuff
outside libcommon.la
Reported-by: Ruediger Meier <sweet_f_a@gmx.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'login-utils/last.c')
-rw-r--r-- | login-utils/last.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/login-utils/last.c b/login-utils/last.c index ed1058652..7848dd0da 100644 --- a/login-utils/last.c +++ b/login-utils/last.c @@ -50,6 +50,7 @@ #include "carefulputc.h" #include "strutils.h" #include "timeutils.h" +#include "boottime.h" #if defined(_HAVE_UT_TV) # define UL_UT_TIME ut_tv.tv_sec |