]> git.ipfire.org Git - thirdparty/wireguard-tools.git/commitdiff
Rework headers and includes
authorJason A. Donenfeld <Jason@zx2c4.com>
Thu, 29 Sep 2016 02:36:14 +0000 (04:36 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Thu, 29 Sep 2016 17:25:30 +0000 (19:25 +0200)
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
contrib/extract-keys/config.c

index 0dc48418f25fde5a8df52169437d14dd8de327fc..7852dcf6f6d7a29c3a8182fad70d561642e31066 100644 (file)
@@ -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) },