diff options
Diffstat (limited to 'auto_tests/toxav_basic_test.c')
-rw-r--r-- | auto_tests/toxav_basic_test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/auto_tests/toxav_basic_test.c b/auto_tests/toxav_basic_test.c index b5028da4..767fca87 100644 --- a/auto_tests/toxav_basic_test.c +++ b/auto_tests/toxav_basic_test.c | |||
@@ -20,7 +20,8 @@ | |||
20 | #include "../toxcore/util.h" | 20 | #include "../toxcore/util.h" |
21 | 21 | ||
22 | 22 | ||
23 | #if defined(_WIN32) || defined(__WIN32__) || defined (WIN32) | 23 | #if defined(_WIN32) || defined(__WIN32__) || defined(WIN32) |
24 | #include <windows.h> | ||
24 | #define c_sleep(x) Sleep(1*x) | 25 | #define c_sleep(x) Sleep(1*x) |
25 | #else | 26 | #else |
26 | #include <unistd.h> | 27 | #include <unistd.h> |