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 | 5e526969d722be4daeb672a5809d9ef2f0248fb9 (patch) | |
tree | dfb37fa9a6c69ab122f8fb28dcfda5fdd3f1568f /src | |
parent | curve25519-hacl64: correct u64_gte_mask (diff) | |
download | wireguard-monolithic-historical-5e526969d722be4daeb672a5809d9ef2f0248fb9.tar.xz wireguard-monolithic-historical-5e526969d722be4daeb672a5809d9ef2f0248fb9.zip |
timers: include header in right file
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); |