summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/monotonic.h3
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);