From 8b1a43c04ae2f0662d5f3e6a80053129a9eebbac Mon Sep 17 00:00:00 2001 From: Christian Gimenez Date: Tue, 1 Sep 2015 00:20:41 -0300 Subject: [PATCH] If sodium is installed, then it uses this. But if not uses the one included. --- toxencryptsave/toxencryptsave.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/toxencryptsave/toxencryptsave.c b/toxencryptsave/toxencryptsave.c index e6150ce2f0..6d4749f295 100644 --- a/toxencryptsave/toxencryptsave.c +++ b/toxencryptsave/toxencryptsave.c @@ -34,6 +34,10 @@ #include "crypto_pwhash_scryptsalsa208sha256/crypto_pwhash_scryptsalsa208sha256.h" #include "crypto_pwhash_scryptsalsa208sha256/utils.h" /* sodium_memzero */ #include +#else +#include +#include /* sodium_memzero */ +#include #endif #if TOX_PASS_SALT_LENGTH != crypto_pwhash_scryptsalsa208sha256_SALTBYTES