From 45f3b9559b258c13614efce3f498f3c6e27b70fe Mon Sep 17 00:00:00 2001 From: Dubslow Date: Wed, 10 Sep 2014 18:12:58 -0500 Subject: [PATCH] modify inclusions --- toxencryptsave/toxencryptsave.c | 6 ++++++ toxencryptsave/toxencryptsave.h | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/toxencryptsave/toxencryptsave.c b/toxencryptsave/toxencryptsave.c index f6fc7f9e..0a206638 100644 --- a/toxencryptsave/toxencryptsave.c +++ b/toxencryptsave/toxencryptsave.c @@ -22,6 +22,12 @@ */ #include "toxencryptsave.h" +#include "../toxcore/crypto_core.h" + +#ifdef VANILLA_NACL +#include "crypto_pwhash_scryptsalsa208sha256/crypto_pwhash_scryptsalsa208sha256.h" +#include "crypto_pwhash_scryptsalsa208sha256/utils.h" /* sodium_memzero */ +#endif /* This "module" provides functions analogous to tox_load and tox_save in toxcore * Clients should consider alerting their users that, unlike plain data, if even one bit diff --git a/toxencryptsave/toxencryptsave.h b/toxencryptsave/toxencryptsave.h index f28ea731..c32716f8 100644 --- a/toxencryptsave/toxencryptsave.h +++ b/toxencryptsave/toxencryptsave.h @@ -24,13 +24,7 @@ #ifndef TOXENCRYPTSAVE_H #define TOXENCRYPTSAVE_H -#ifdef VANILLA_NACL -#include "crypto_pwhash_scryptsalsa208sha256/crypto_pwhash_scryptsalsa208sha256.h" -#include "crypto_pwhash_scryptsalsa208sha256/utils.h" /* sodium_memzero */ -#endif - #include "../toxcore/tox.h" -#include "../toxcore/crypto_core.h" #ifdef __cplusplus extern "C" {