summaryrefslogtreecommitdiffhomepage
path: root/src/ratelimiter.c
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/ratelimiter.c
parent0b9dfadd25b60bf2fed43d5b553098ed70028374 (diff)
Rework headers and includes
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/ratelimiter.c')
-rw-r--r--src/ratelimiter.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ratelimiter.c b/src/ratelimiter.c
index 042ae34..1d51fc4 100644
--- a/src/ratelimiter.c
+++ b/src/ratelimiter.c
@@ -1,10 +1,12 @@
/* Copyright 2015-2016 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
-#include "wireguard.h"
#include "ratelimiter.h"
+#include "peer.h"
+#include "device.h"
+
#include <linux/netfilter/x_tables.h>
-#include <net/ip.h>
#include <linux/module.h>
+#include <net/ip.h>
#if !IS_ENABLED(CONFIG_NETFILTER_XT_MATCH_HASHLIMIT)
#error "WireGuard requires CONFIG_NETFILTER_XT_MATCH_HASHLIMIT."