summaryrefslogtreecommitdiff
path: root/protocols/Tox/src
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox/src')
-rw-r--r--protocols/Tox/src/stdafx.h4
-rw-r--r--protocols/Tox/src/tox_connection.cpp2
2 files changed, 4 insertions, 2 deletions
diff --git a/protocols/Tox/src/stdafx.h b/protocols/Tox/src/stdafx.h
index b1d360aae5..9dbf24a568 100644
--- a/protocols/Tox/src/stdafx.h
+++ b/protocols/Tox/src/stdafx.h
@@ -2,9 +2,11 @@
#define _COMMON_H_
#include <windows.h>
+#include <commctrl.h>
+
#include <io.h>
+#include <malloc.h>
#include <time.h>
-#include <commctrl.h>
#include <msapi/comptr.h>
#include <vector>
diff --git a/protocols/Tox/src/tox_connection.cpp b/protocols/Tox/src/tox_connection.cpp
index fef16834c8..02ab9e223c 100644
--- a/protocols/Tox/src/tox_connection.cpp
+++ b/protocols/Tox/src/tox_connection.cpp
@@ -62,7 +62,7 @@ void CToxProto::OnToxCheck(void *arg, BYTE)
{
CToxProto *proto = (CToxProto*)arg;
- int retriesCount = proto->getByte("MaxReconnectRetries", TOX_MAX_RECONNECT_RETRIES);
+ // int retriesCount = proto->getByte("MaxReconnectRetries", TOX_MAX_RECONNECT_RETRIES);
if (proto->m_iStatus < ID_STATUS_ONLINE)
proto->TryConnect();
else