diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-08-08 19:26:22 -0700 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-08-09 01:22:05 -0700 |
commit | dc1315ab86fdc2d2a43130e2b133ff996038090d (patch) | |
tree | 7e8e34c38f47fbab101637fbc9f7c4cac0f2dc8d /src | |
parent | 6eb23d0bfeb82b9fbebb43fc66a00cdde15c67c2 (diff) |
timers: include header in right file
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/timers.c | 2 | ||||
-rw-r--r-- | src/timers.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/timers.c b/src/timers.c index 762152a..7db892a 100644 --- a/src/timers.c +++ b/src/timers.c @@ -9,8 +9,6 @@ #include "queueing.h" #include "socket.h" -#include <linux/ktime.h> - /* * Timer for retransmitting the handshake if we don't hear back after `REKEY_TIMEOUT + jitter` ms * Timer for sending empty packet if we have received a packet but after have not sent one for `KEEPALIVE_TIMEOUT` ms diff --git a/src/timers.h b/src/timers.h index 1c46555..c95bf31 100644 --- a/src/timers.h +++ b/src/timers.h @@ -6,6 +6,8 @@ #ifndef _WG_TIMERS_H #define _WG_TIMERS_H +#include <linux/ktime.h> + struct wireguard_peer; void timers_init(struct wireguard_peer *peer); |