diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-09-29 04:36:14 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-09-29 19:25:30 +0200 |
commit | a18ceb81ca78a7f37adc436f35e6eeb8683bb984 (patch) | |
tree | e47051e5acf65c5d2cf8c3fa494abb6742d0bb24 /contrib | |
parent | poly1305: optimize unaligned access (diff) | |
download | wireguard-monolithic-historical-a18ceb81ca78a7f37adc436f35e6eeb8683bb984.tar.xz wireguard-monolithic-historical-a18ceb81ca78a7f37adc436f35e6eeb8683bb984.zip |
Rework headers and includes
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/examples/extract-keys/config.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/examples/extract-keys/config.c b/contrib/examples/extract-keys/config.c index 0dc4841..7852dcf 100644 --- a/contrib/examples/extract-keys/config.c +++ b/contrib/examples/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) }, |