summaryrefslogtreecommitdiffhomepage
path: root/src/peer.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-09-29 04:36:14 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2016-09-29 19:25:30 +0200
commit7dbb44fcbea3bbed2c73919394e22865552b7c0d (patch)
tree09d03a9b211f9f068d25b84f67c8c60d9eb30199 /src/peer.h
parent0b9dfadd25b60bf2fed43d5b553098ed70028374 (diff)
Rework headers and includes
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/peer.h')
-rw-r--r--src/peer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/peer.h b/src/peer.h
index 580d295..5b27e00 100644
--- a/src/peer.h
+++ b/src/peer.h
@@ -3,14 +3,16 @@
#ifndef PEER_H
#define PEER_H
-#include "wireguard.h"
#include "noise.h"
#include "cookie.h"
+
#include <linux/types.h>
#include <linux/netfilter.h>
#include <linux/spinlock.h>
#include <linux/kref.h>
+struct wireguard_device;
+
struct wireguard_peer {
struct wireguard_device *device;
struct sockaddr_storage endpoint_addr;