diff options
author | Dubslow <bunslow@gmail.com> | 2014-09-10 18:12:58 -0500 |
---|---|---|
committer | Dubslow <bunslow@gmail.com> | 2014-09-10 18:12:58 -0500 |
commit | 45f3b9559b258c13614efce3f498f3c6e27b70fe (patch) | |
tree | 23fbce073e443a8ab53383c95c98d1e401df27e4 /toxencryptsave | |
parent | b0fabd1caae9be136a1c5a0bd0bdde07266d855a (diff) |
modify inclusions
Diffstat (limited to 'toxencryptsave')
-rw-r--r-- | toxencryptsave/toxencryptsave.c | 6 | ||||
-rw-r--r-- | 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 @@ | |||
22 | */ | 22 | */ |
23 | 23 | ||
24 | #include "toxencryptsave.h" | 24 | #include "toxencryptsave.h" |
25 | #include "../toxcore/crypto_core.h" | ||
26 | |||
27 | #ifdef VANILLA_NACL | ||
28 | #include "crypto_pwhash_scryptsalsa208sha256/crypto_pwhash_scryptsalsa208sha256.h" | ||
29 | #include "crypto_pwhash_scryptsalsa208sha256/utils.h" /* sodium_memzero */ | ||
30 | #endif | ||
25 | 31 | ||
26 | /* This "module" provides functions analogous to tox_load and tox_save in toxcore | 32 | /* This "module" provides functions analogous to tox_load and tox_save in toxcore |
27 | * Clients should consider alerting their users that, unlike plain data, if even one bit | 33 | * 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 @@ | |||
24 | #ifndef TOXENCRYPTSAVE_H | 24 | #ifndef TOXENCRYPTSAVE_H |
25 | #define TOXENCRYPTSAVE_H | 25 | #define TOXENCRYPTSAVE_H |
26 | 26 | ||
27 | #ifdef VANILLA_NACL | ||
28 | #include "crypto_pwhash_scryptsalsa208sha256/crypto_pwhash_scryptsalsa208sha256.h" | ||
29 | #include "crypto_pwhash_scryptsalsa208sha256/utils.h" /* sodium_memzero */ | ||
30 | #endif | ||
31 | |||
32 | #include "../toxcore/tox.h" | 27 | #include "../toxcore/tox.h" |
33 | #include "../toxcore/crypto_core.h" | ||
34 | 28 | ||
35 | #ifdef __cplusplus | 29 | #ifdef __cplusplus |
36 | extern "C" { | 30 | extern "C" { |