Fixed toxencryptsave include issue.

This commit is contained in:
irungentoo 2014-09-14 13:08:01 -04:00
parent 331efce602
commit 5a2a756671
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98
2 changed files with 9 additions and 2 deletions

View File

@ -27,6 +27,7 @@
#include "toxencryptsave.h"
#include "../toxcore/crypto_core.h"
#include "../toxcore/tox.h"
#ifdef VANILLA_NACL
#include "crypto_pwhash_scryptsalsa208sha256/crypto_pwhash_scryptsalsa208sha256.h"

View File

@ -24,12 +24,18 @@
#ifndef TOXENCRYPTSAVE_H
#define TOXENCRYPTSAVE_H
#include "../toxcore/tox.h"
#ifdef __cplusplus
extern "C" {
#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
* Clients should consider alerting their users that, unlike plain data, if even one bit
* becomes corrupted, the data will be entirely unrecoverable.