mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fixed toxencryptsave include issue.
This commit is contained in:
parent
331efce602
commit
5a2a756671
|
@ -27,6 +27,7 @@
|
||||||
|
|
||||||
#include "toxencryptsave.h"
|
#include "toxencryptsave.h"
|
||||||
#include "../toxcore/crypto_core.h"
|
#include "../toxcore/crypto_core.h"
|
||||||
|
#include "../toxcore/tox.h"
|
||||||
|
|
||||||
#ifdef VANILLA_NACL
|
#ifdef VANILLA_NACL
|
||||||
#include "crypto_pwhash_scryptsalsa208sha256/crypto_pwhash_scryptsalsa208sha256.h"
|
#include "crypto_pwhash_scryptsalsa208sha256/crypto_pwhash_scryptsalsa208sha256.h"
|
||||||
|
|
|
@ -24,12 +24,18 @@
|
||||||
#ifndef TOXENCRYPTSAVE_H
|
#ifndef TOXENCRYPTSAVE_H
|
||||||
#define TOXENCRYPTSAVE_H
|
#define TOXENCRYPTSAVE_H
|
||||||
|
|
||||||
#include "../toxcore/tox.h"
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
|
#ifndef __TOX_DEFINED__
|
||||||
|
#define __TOX_DEFINED__
|
||||||
|
typedef struct Tox Tox;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* This "module" provides functions analogous to tox_load and tox_save in toxcore
|
/* 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
|
* Clients should consider alerting their users that, unlike plain data, if even one bit
|
||||||
* becomes corrupted, the data will be entirely unrecoverable.
|
* becomes corrupted, the data will be entirely unrecoverable.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user