]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lib/monotonic: fix compiler warnings
authorKarel Zak <kzak@redhat.com>
Thu, 5 Mar 2015 12:32:53 +0000 (13:32 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 5 Mar 2015 12:32:53 +0000 (13:32 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
include/monotonic.h

index aca8b1fe4d44b3f2e29cc15d373afdf044930c04..bbebfe0b97ea208b898e87f8db8221265d90bfb0 100644 (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);