mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fixed building with NaCl.
This commit is contained in:
parent
261d78b862
commit
55499933be
|
@ -1,3 +1,7 @@
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "../toxcore/net_crypto.h"
|
#include "../toxcore/net_crypto.h"
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
|
@ -18,6 +18,10 @@
|
||||||
* times. This is used both to ensure that we don't loop forever on a broken build,
|
* times. This is used both to ensure that we don't loop forever on a broken build,
|
||||||
* and that we don't get too slow with messaging. The current time is 15 seconds. */
|
* and that we don't get too slow with messaging. The current time is 15 seconds. */
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "../toxcore/friend_requests.h"
|
#include "../toxcore/friend_requests.h"
|
||||||
#include "../toxcore/Messenger.h"
|
#include "../toxcore/Messenger.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
|
@ -10,6 +10,10 @@
|
||||||
* checking that status changes are received, messages can be sent, etc.
|
* checking that status changes are received, messages can be sent, etc.
|
||||||
* All of that is done in a separate test, with two local clients running. */
|
* All of that is done in a separate test, with two local clients running. */
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "../toxcore/Messenger.h"
|
#include "../toxcore/Messenger.h"
|
||||||
#include "../toxcore/Lossless_UDP.h"
|
#include "../toxcore/Lossless_UDP.h"
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
|
@ -26,6 +26,9 @@
|
||||||
* along with Tox. If not, see <http://www.gnu.org/licenses/>.
|
* along with Tox. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "../toxcore/DHT.h"
|
#include "../toxcore/DHT.h"
|
||||||
#include "../toxcore/friend_requests.h"
|
#include "../toxcore/friend_requests.h"
|
||||||
|
|
|
@ -32,6 +32,10 @@
|
||||||
#include <arpa/inet.h> /* htons() */
|
#include <arpa/inet.h> /* htons() */
|
||||||
#include <string.h> /* strcpy() */
|
#include <string.h> /* strcpy() */
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "../../toxcore/DHT.h"
|
#include "../../toxcore/DHT.h"
|
||||||
#include "../../toxcore/friend_requests.h"
|
#include "../../toxcore/friend_requests.h"
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,10 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "group_chats.h"
|
#include "group_chats.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user