aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/timers.c2
-rw-r--r--src/timers.h2
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);