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 /sys-utils | |
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 'sys-utils')
-rw-r--r-- | sys-utils/Makemodule.am | 2 | ||||
-rw-r--r-- | sys-utils/dmesg.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sys-utils/Makemodule.am b/sys-utils/Makemodule.am index a19d58b84..eb78176cc 100644 --- a/sys-utils/Makemodule.am +++ b/sys-utils/Makemodule.am @@ -70,7 +70,7 @@ if LINUX # bin_PROGRAMS += dmesg dist_man_MANS += sys-utils/dmesg.1 -dmesg_SOURCES = sys-utils/dmesg.c +dmesg_SOURCES = sys-utils/dmesg.c lib/boottime.c dmesg_LDADD = $(LDADD) libcommon.la -lrt sbin_PROGRAMS += ctrlaltdel diff --git a/sys-utils/dmesg.c b/sys-utils/dmesg.c index 3d58623c2..73b246e0b 100644 --- a/sys-utils/dmesg.c +++ b/sys-utils/dmesg.c @@ -33,6 +33,7 @@ #include "closestream.h" #include "optutils.h" #include "timeutils.h" +#include "boottime.h" #include "mangle.h" #include "pager.h" |