summaryrefslogtreecommitdiffstatshomepage
path: root/src/crypto
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-09-16 14:05:21 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-09-16 15:33:18 +0200
commit975fc67bf1a3db7bbc4416e6a49623688c403040 (patch)
tree42c062b32c9795b3aad7faf7db249ec427dd06b3 /src/crypto
parentqemu: enable debug info for debug qemu (diff)
downloadwireguard-monolithic-historical-975fc67bf1a3db7bbc4416e6a49623688c403040.tar.xz
wireguard-monolithic-historical-975fc67bf1a3db7bbc4416e6a49623688c403040.zip
compat: ensure we can build without compat.h
Diffstat (limited to 'src/crypto')
-rw-r--r--src/crypto/blake2s.c1
-rw-r--r--src/crypto/curve25519.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/crypto/blake2s.c b/src/crypto/blake2s.c
index a5022f9..52d635c 100644
--- a/src/crypto/blake2s.c
+++ b/src/crypto/blake2s.c
@@ -8,6 +8,7 @@
#include <linux/types.h>
#include <linux/string.h>
#include <linux/kernel.h>
+#include <linux/bug.h>
#include <asm/unaligned.h>
typedef struct {
diff --git a/src/crypto/curve25519.c b/src/crypto/curve25519.c
index 1d79ab6..f236cf5 100644
--- a/src/crypto/curve25519.c
+++ b/src/crypto/curve25519.c
@@ -6,6 +6,7 @@
#include "curve25519.h"
+#include <linux/version.h>
#include <linux/string.h>
#include <linux/random.h>
#include <crypto/algapi.h>