summaryrefslogtreecommitdiffhomepage
path: root/src/crypto/chacha20poly1305.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-11-09 04:44:23 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2016-11-09 04:44:23 +0100
commit6de3d1ca89828354f7a1e2ca88b268bd3333ccdb (patch)
tree0fac9720d46d55c774b3e32330ff8a36c37a34b2 /src/crypto/chacha20poly1305.h
parent66d2934004f39527c77c09a0ab09bc91f0310891 (diff)
chacha20poly1305: don't forget version header
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/crypto/chacha20poly1305.h')
-rw-r--r--src/crypto/chacha20poly1305.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crypto/chacha20poly1305.h b/src/crypto/chacha20poly1305.h
index d7f1f98..49bd5f9 100644
--- a/src/crypto/chacha20poly1305.h
+++ b/src/crypto/chacha20poly1305.h
@@ -32,6 +32,7 @@ bool chacha20poly1305_decrypt_sg(struct scatterlist *dst, struct scatterlist *sr
const uint64_t nonce, const uint8_t key[CHACHA20POLY1305_KEYLEN]);
#ifdef CONFIG_X86_64
+#include <linux/version.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
#include <asm/fpu/api.h>
#include <asm/simd.h>