summaryrefslogtreecommitdiffstats
path: root/login-utils/last.c
diff options
context:
space:
mode:
authorKarel Zak2014-05-06 13:16:05 +0200
committerKarel Zak2014-05-06 13:16:05 +0200
commit08ca3e26a8feb0353a960b6b6d20ccb2755db8af (patch)
tree68dd836cdb30cf752643f047b4f6548a4065d409 /login-utils/last.c
parenthwclock: fix typo (diff)
downloadkernel-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.c1
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