aboutsummaryrefslogtreecommitdiff
path: root/src/testzzuf
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2014-02-18 18:39:31 +0000
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2014-02-18 18:39:31 +0000
commit8b28e693b25992174be3e865ea444414713b27ec (patch)
treee13d3d19e2c9436220a920fb7ae00772faf62da2 /src/testzzuf
parentb7dabd9efbd86724944f9a1e79bc04dc4e6cc9f3 (diff)
downloadlibmicrohttpd-8b28e693b25992174be3e865ea444414713b27ec.tar.gz
libmicrohttpd-8b28e693b25992174be3e865ea444414713b27ec.zip
add sleep() and usleep() replacement for W32
Diffstat (limited to 'src/testzzuf')
-rw-r--r--src/testzzuf/socat.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/testzzuf/socat.c b/src/testzzuf/socat.c
index e4559a02..9b351197 100644
--- a/src/testzzuf/socat.c
+++ b/src/testzzuf/socat.c
@@ -29,6 +29,13 @@
29#include <sys/wait.h> 29#include <sys/wait.h>
30#include <signal.h> 30#include <signal.h>
31 31
32#ifdef _WIN32
33#ifndef WIN32_LEAN_AND_MEAN
34#define WIN32_LEAN_AND_MEAN 1
35#endif /* !WIN32_LEAN_AND_MEAN */
36#include <windows.h>
37#endif
38
32 39
33/** 40/**
34 * A larger loop count will run more random tests -- 41 * A larger loop count will run more random tests --