lib/monotonic: fix compiler warnings

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2015-03-05 13:32:53 +01:00
parent b28842ae67
commit b9dedd3d34
1 changed files with 3 additions and 0 deletions

View File

@ -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);