summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoren[m] <Break@Ocean>2013-09-11 10:54:47 +0200
committerCoren[m] <Break@Ocean>2013-09-11 10:54:47 +0200
commit85912418db41d692b78b6bfe7a567ee2ca24e742 (patch)
treed6bf0d323e5ec0375d23131fc60168ea093df31a
parent5869057aba3226bf6d1f996fbd3ba80c97ef359e (diff)
cmdline parsing:
- add missing includes (autobuild warnings)
-rw-r--r--other/DHT_bootstrap.c1
-rw-r--r--testing/DHT_test.c1
-rw-r--r--testing/Lossless_UDP_testclient.c1
-rw-r--r--testing/Lossless_UDP_testserver.c1
-rw-r--r--testing/Messenger_test.c1
-rw-r--r--toxcore/DHT.c1
6 files changed, 6 insertions, 0 deletions
diff --git a/other/DHT_bootstrap.c b/other/DHT_bootstrap.c
index f5fa9818..f2e792ac 100644
--- a/other/DHT_bootstrap.c
+++ b/other/DHT_bootstrap.c
@@ -33,6 +33,7 @@
33#include "../toxcore/DHT.h" 33#include "../toxcore/DHT.h"
34#include "../toxcore/friend_requests.h" 34#include "../toxcore/friend_requests.h"
35#include "../testing/misc_tools.c" 35#include "../testing/misc_tools.c"
36#include "../toxcore/util.h"
36 37
37/* Sleep function (x = milliseconds) */ 38/* Sleep function (x = milliseconds) */
38#ifdef WIN32 39#ifdef WIN32
diff --git a/testing/DHT_test.c b/testing/DHT_test.c
index ba8c2f23..5451c467 100644
--- a/testing/DHT_test.c
+++ b/testing/DHT_test.c
@@ -34,6 +34,7 @@
34//#include "../core/network.h" 34//#include "../core/network.h"
35#include "../toxcore/DHT.h" 35#include "../toxcore/DHT.h"
36#include "../toxcore/friend_requests.h" 36#include "../toxcore/friend_requests.h"
37#include "../toxcore/util.h"
37#include "misc_tools.c" 38#include "misc_tools.c"
38 39
39#include <string.h> 40#include <string.h>
diff --git a/testing/Lossless_UDP_testclient.c b/testing/Lossless_UDP_testclient.c
index 70349204..e36ac6eb 100644
--- a/testing/Lossless_UDP_testclient.c
+++ b/testing/Lossless_UDP_testclient.c
@@ -34,6 +34,7 @@
34 34
35#include "../toxcore/network.h" 35#include "../toxcore/network.h"
36#include "../toxcore/Lossless_UDP.h" 36#include "../toxcore/Lossless_UDP.h"
37#include "../toxcore/util.h"
37 38
38#ifdef WIN32 39#ifdef WIN32
39 40
diff --git a/testing/Lossless_UDP_testserver.c b/testing/Lossless_UDP_testserver.c
index 343a662a..97c3eb46 100644
--- a/testing/Lossless_UDP_testserver.c
+++ b/testing/Lossless_UDP_testserver.c
@@ -34,6 +34,7 @@
34 34
35#include "../toxcore/network.h" 35#include "../toxcore/network.h"
36#include "../toxcore/Lossless_UDP.h" 36#include "../toxcore/Lossless_UDP.h"
37#include "../toxcore/util.h"
37 38
38//Sleep function (x = milliseconds) 39//Sleep function (x = milliseconds)
39#ifdef WIN32 40#ifdef WIN32
diff --git a/testing/Messenger_test.c b/testing/Messenger_test.c
index 14d9ca20..93069226 100644
--- a/testing/Messenger_test.c
+++ b/testing/Messenger_test.c
@@ -43,6 +43,7 @@
43 43
44#include "../toxcore/Messenger.h" 44#include "../toxcore/Messenger.h"
45#include "misc_tools.c" 45#include "misc_tools.c"
46#include "../toxcore/util.h"
46 47
47#ifdef WIN32 48#ifdef WIN32
48 49
diff --git a/toxcore/DHT.c b/toxcore/DHT.c
index 1798ea1a..44f7f101 100644
--- a/toxcore/DHT.c
+++ b/toxcore/DHT.c
@@ -28,6 +28,7 @@
28#endif 28#endif
29 29
30#include "DHT.h" 30#include "DHT.h"
31#include "network.h"
31#include "ping.h" 32#include "ping.h"
32#include "misc_tools.h" 33#include "misc_tools.h"
33 34