diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2017-06-18 11:41:32 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-06-22 18:14:18 +0000 |
commit | 648f87883aad87b6e946fa23a8d8ec4cfd0523db (patch) | |
tree | cf323b398635d337b55691ef4c0b3b9577f43a97 /src | |
parent | fc1911c0f427ad037d4dd14950c60c4f1ac8de15 (diff) |
timer_gettimeofday.c: Fix implicit use of timeradd
timer_gettimeofday.c: In function 'osmo_gettimeofday_override_add':
timer_gettimeofday.c:54:2: error: implicit declaration of function 'timeradd' [-Werror=implicit-function-declaration]
timeradd(&osmo_gettimeofday_override_time, &val,
^
Change-Id: Iced451be255cfde8a6cf38380bef71ef29673994
Diffstat (limited to 'src')
-rw-r--r-- | src/timer_gettimeofday.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/timer_gettimeofday.c b/src/timer_gettimeofday.c index 81a1598d..35730515 100644 --- a/src/timer_gettimeofday.c +++ b/src/timer_gettimeofday.c @@ -29,6 +29,7 @@ #include <stdbool.h> #include <sys/time.h> +#include <osmocom/core/timer_compat.h> bool osmo_gettimeofday_override = false; struct timeval osmo_gettimeofday_override_time = { 23, 424242 }; |