diff options
author | Karel Zak | 2015-03-05 13:32:53 +0100 |
---|---|---|
committer | Karel Zak | 2015-03-05 13:32:53 +0100 |
commit | b9dedd3d34cb6d340c7dc229b598d4580c704c8c (patch) | |
tree | 3094c079523e62c3d98555fbaa22668181a159e6 /include/monotonic.h | |
parent | agetty: support /usr/lib/os-release too (diff) | |
download | kernel-qcow2-util-linux-b9dedd3d34cb6d340c7dc229b598d4580c704c8c.tar.gz kernel-qcow2-util-linux-b9dedd3d34cb6d340c7dc229b598d4580c704c8c.tar.xz kernel-qcow2-util-linux-b9dedd3d34cb6d340c7dc229b598d4580c704c8c.zip |
lib/monotonic: fix compiler warnings
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/monotonic.h')
-rw-r--r-- | include/monotonic.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/monotonic.h b/include/monotonic.h index aca8b1fe4..bbebfe0b9 100644 --- a/include/monotonic.h +++ b/include/monotonic.h @@ -4,6 +4,9 @@ /* * Uses clock_gettime() that requires $CLOCKGETTIME_LIBS */ +#include <signal.h> +#include <sys/time.h> + extern int get_boot_time(struct timeval *boot_time); extern int gettime_monotonic(struct timeval *tv); |