From 0f9bd6ea00bfc085001f1f66f445d2026674d5cb Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Fri, 9 Dec 2016 18:36:13 +0100 Subject: compat: build dep errors belong here, since it's out of tree specific --- src/ratelimiter.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/ratelimiter.c') diff --git a/src/ratelimiter.c b/src/ratelimiter.c index 7c23d55..be3e6a1 100644 --- a/src/ratelimiter.c +++ b/src/ratelimiter.c @@ -4,17 +4,10 @@ #include "peer.h" #include "device.h" -#include #include +#include #include -#if !IS_ENABLED(CONFIG_NETFILTER_XT_MATCH_HASHLIMIT) -#error "WireGuard requires CONFIG_NETFILTER_XT_MATCH_HASHLIMIT." -#endif -#if IS_ENABLED(CONFIG_IPV6) && !IS_ENABLED(CONFIG_IP6_NF_IPTABLES) -#error "WireGuard requires CONFIG_IP6_NF_IPTABLES when using CONFIG_IPV6." -#endif - static struct xt_match *v4_match; #if IS_ENABLED(CONFIG_IPV6) static struct xt_match *v6_match; -- cgit v1.2.3-59-g8ed1b