diff options
Diffstat (limited to 'toxencryptsave')
-rw-r--r-- | toxencryptsave/toxencryptsave.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/toxencryptsave/toxencryptsave.c b/toxencryptsave/toxencryptsave.c index bd56e780..0c799bfb 100644 --- a/toxencryptsave/toxencryptsave.c +++ b/toxencryptsave/toxencryptsave.c | |||
@@ -31,8 +31,10 @@ | |||
31 | #define SET_ERROR_PARAMETER(param, x) {if(param) {*param = x;}} | 31 | #define SET_ERROR_PARAMETER(param, x) {if(param) {*param = x;}} |
32 | 32 | ||
33 | #ifdef VANILLA_NACL | 33 | #ifdef VANILLA_NACL |
34 | #include <crypto_box.h> | ||
34 | #include <crypto_hash_sha256.h> | 35 | #include <crypto_hash_sha256.h> |
35 | #include "crypto_pwhash_scryptsalsa208sha256/crypto_pwhash_scryptsalsa208sha256.h" | 36 | #include "crypto_pwhash_scryptsalsa208sha256/crypto_pwhash_scryptsalsa208sha256.h" |
37 | #define crypto_box_MACBYTES (crypto_box_ZEROBYTES - crypto_box_BOXZEROBYTES) | ||
36 | #else | 38 | #else |
37 | #include <sodium.h> | 39 | #include <sodium.h> |
38 | #endif | 40 | #endif |