diff options
Diffstat (limited to 'auto_tests/toxav_many_test.c')
-rw-r--r-- | auto_tests/toxav_many_test.c | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/auto_tests/toxav_many_test.c b/auto_tests/toxav_many_test.c index 94183421..ed005e2f 100644 --- a/auto_tests/toxav_many_test.c +++ b/auto_tests/toxav_many_test.c | |||
@@ -1,13 +1,7 @@ | |||
1 | #ifndef _XOPEN_SOURCE | ||
2 | #define _XOPEN_SOURCE 600 | ||
3 | #endif | ||
4 | |||
5 | #ifdef HAVE_CONFIG_H | 1 | #ifdef HAVE_CONFIG_H |
6 | #include "config.h" | 2 | #include "config.h" |
7 | #endif | 3 | #endif |
8 | 4 | ||
9 | #include "check_compat.h" | ||
10 | |||
11 | #include <stdint.h> | 5 | #include <stdint.h> |
12 | #include <stdio.h> | 6 | #include <stdio.h> |
13 | #include <stdlib.h> | 7 | #include <stdlib.h> |
@@ -15,19 +9,19 @@ | |||
15 | #include <sys/types.h> | 9 | #include <sys/types.h> |
16 | #include <time.h> | 10 | #include <time.h> |
17 | 11 | ||
12 | #if !defined(_WIN32) && !defined(__WIN32__) && !defined(WIN32) | ||
13 | #include <pthread.h> | ||
14 | #endif | ||
15 | |||
18 | #include <vpx/vpx_image.h> | 16 | #include <vpx/vpx_image.h> |
19 | 17 | ||
18 | #include "../testing/misc_tools.h" | ||
20 | #include "../toxav/toxav.h" | 19 | #include "../toxav/toxav.h" |
21 | #include "../toxcore/crypto_core.h" | 20 | #include "../toxcore/crypto_core.h" |
22 | #include "../toxcore/logger.h" | 21 | #include "../toxcore/logger.h" |
23 | #include "../toxcore/tox.h" | 22 | #include "../toxcore/tox.h" |
24 | #include "../toxcore/util.h" | 23 | #include "../toxcore/util.h" |
25 | 24 | #include "check_compat.h" | |
26 | #include "helpers.h" | ||
27 | |||
28 | #if !defined(_WIN32) && !defined(__WIN32__) && !defined(WIN32) | ||
29 | #include <pthread.h> | ||
30 | #endif | ||
31 | 25 | ||
32 | typedef struct { | 26 | typedef struct { |
33 | bool incoming; | 27 | bool incoming; |