diff options
-rw-r--r-- | auto_tests/crypto_test.c | 4 | ||||
-rw-r--r-- | auto_tests/friends_test.c | 4 | ||||
-rw-r--r-- | auto_tests/messenger_test.c | 4 | ||||
-rw-r--r-- | other/DHT_bootstrap.c | 3 | ||||
-rw-r--r-- | other/bootstrap_serverdaemon/DHT_bootstrap_daemon.c | 4 | ||||
-rw-r--r-- | toxcore/group_chats.c | 4 |
6 files changed, 23 insertions, 0 deletions
diff --git a/auto_tests/crypto_test.c b/auto_tests/crypto_test.c index 683cb106..09b5a982 100644 --- a/auto_tests/crypto_test.c +++ b/auto_tests/crypto_test.c | |||
@@ -1,3 +1,7 @@ | |||
1 | #ifdef HAVE_CONFIG_H | ||
2 | #include "config.h" | ||
3 | #endif | ||
4 | |||
1 | #include "../toxcore/net_crypto.h" | 5 | #include "../toxcore/net_crypto.h" |
2 | #include <sys/types.h> | 6 | #include <sys/types.h> |
3 | #include <stdint.h> | 7 | #include <stdint.h> |
diff --git a/auto_tests/friends_test.c b/auto_tests/friends_test.c index 0426c18d..8a22aa87 100644 --- a/auto_tests/friends_test.c +++ b/auto_tests/friends_test.c | |||
@@ -18,6 +18,10 @@ | |||
18 | * times. This is used both to ensure that we don't loop forever on a broken build, | 18 | * times. This is used both to ensure that we don't loop forever on a broken build, |
19 | * and that we don't get too slow with messaging. The current time is 15 seconds. */ | 19 | * and that we don't get too slow with messaging. The current time is 15 seconds. */ |
20 | 20 | ||
21 | #ifdef HAVE_CONFIG_H | ||
22 | #include "config.h" | ||
23 | #endif | ||
24 | |||
21 | #include "../toxcore/friend_requests.h" | 25 | #include "../toxcore/friend_requests.h" |
22 | #include "../toxcore/Messenger.h" | 26 | #include "../toxcore/Messenger.h" |
23 | #include <assert.h> | 27 | #include <assert.h> |
diff --git a/auto_tests/messenger_test.c b/auto_tests/messenger_test.c index d067a014..604e282c 100644 --- a/auto_tests/messenger_test.c +++ b/auto_tests/messenger_test.c | |||
@@ -10,6 +10,10 @@ | |||
10 | * checking that status changes are received, messages can be sent, etc. | 10 | * checking that status changes are received, messages can be sent, etc. |
11 | * All of that is done in a separate test, with two local clients running. */ | 11 | * All of that is done in a separate test, with two local clients running. */ |
12 | 12 | ||
13 | #ifdef HAVE_CONFIG_H | ||
14 | #include "config.h" | ||
15 | #endif | ||
16 | |||
13 | #include "../toxcore/Messenger.h" | 17 | #include "../toxcore/Messenger.h" |
14 | #include "../toxcore/Lossless_UDP.h" | 18 | #include "../toxcore/Lossless_UDP.h" |
15 | #include <sys/types.h> | 19 | #include <sys/types.h> |
diff --git a/other/DHT_bootstrap.c b/other/DHT_bootstrap.c index a42545b1..654b759f 100644 --- a/other/DHT_bootstrap.c +++ b/other/DHT_bootstrap.c | |||
@@ -26,6 +26,9 @@ | |||
26 | * along with Tox. If not, see <http://www.gnu.org/licenses/>. | 26 | * along with Tox. If not, see <http://www.gnu.org/licenses/>. |
27 | * | 27 | * |
28 | */ | 28 | */ |
29 | #ifdef HAVE_CONFIG_H | ||
30 | #include "config.h" | ||
31 | #endif | ||
29 | 32 | ||
30 | #include "../toxcore/DHT.h" | 33 | #include "../toxcore/DHT.h" |
31 | #include "../toxcore/friend_requests.h" | 34 | #include "../toxcore/friend_requests.h" |
diff --git a/other/bootstrap_serverdaemon/DHT_bootstrap_daemon.c b/other/bootstrap_serverdaemon/DHT_bootstrap_daemon.c index e7507613..0ef1f314 100644 --- a/other/bootstrap_serverdaemon/DHT_bootstrap_daemon.c +++ b/other/bootstrap_serverdaemon/DHT_bootstrap_daemon.c | |||
@@ -32,6 +32,10 @@ | |||
32 | #include <arpa/inet.h> /* htons() */ | 32 | #include <arpa/inet.h> /* htons() */ |
33 | #include <string.h> /* strcpy() */ | 33 | #include <string.h> /* strcpy() */ |
34 | 34 | ||
35 | #ifdef HAVE_CONFIG_H | ||
36 | #include "config.h" | ||
37 | #endif | ||
38 | |||
35 | #include "../../toxcore/DHT.h" | 39 | #include "../../toxcore/DHT.h" |
36 | #include "../../toxcore/friend_requests.h" | 40 | #include "../../toxcore/friend_requests.h" |
37 | 41 | ||
diff --git a/toxcore/group_chats.c b/toxcore/group_chats.c index 3c134348..4581eb38 100644 --- a/toxcore/group_chats.c +++ b/toxcore/group_chats.c | |||
@@ -22,6 +22,10 @@ | |||
22 | * | 22 | * |
23 | */ | 23 | */ |
24 | 24 | ||
25 | #ifdef HAVE_CONFIG_H | ||
26 | #include "config.h" | ||
27 | #endif | ||
28 | |||
25 | #include "group_chats.h" | 29 | #include "group_chats.h" |
26 | 30 | ||
27 | 31 | ||