From: Jason A. Donenfeld Date: Thu, 29 Sep 2016 02:36:14 +0000 (+0200) Subject: Rework headers and includes X-Git-Tag: v1.0.20191226~317 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a57a2cefbeaf9e42b7a8e603f7a0bc6582a1aae;p=thirdparty%2Fwireguard-tools.git Rework headers and includes Signed-off-by: Jason A. Donenfeld --- diff --git a/contrib/extract-keys/config.c b/contrib/extract-keys/config.c index 0dc4841..7852dcf 100644 --- a/contrib/extract-keys/config.c +++ b/contrib/extract-keys/config.c @@ -5,7 +5,9 @@ struct def { extern const struct def defs[]; #ifdef __KERNEL__ -#include "../../../src/wireguard.h" +#include "../../../src/device.h" +#include "../../../src/peer.h" +#include "../../../src/noise.h" const struct def defs[] = { { "SOCK_DEVICE_OFFSET", offsetof(struct sock, sk_user_data) }, { "DEVICE_NAME_OFFSET", -ALIGN(sizeof(struct net_device), NETDEV_ALIGN) + offsetof(struct net_device, name) },