mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
modify inclusions
This commit is contained in:
parent
b0fabd1caa
commit
45f3b9559b
|
@ -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
|
||||
|
|
|
@ -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" {
|
||||
|
|
Loading…
Reference in New Issue
Block a user