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 "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"

View File

@ -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.