Since tinytest_demo.c now calls Sleep(), we must include <windows.h>. Patch:
--- Git-latest/src/ext/tinytest_demo.c 2014-03-13 20:44:56 +0000 +++ src/ext/tinytest_demo.c 2014-03-14 11:21:56 +0000 @@ -36,7 +36,10 @@ #include <string.h> #include <errno.h> #include <time.h> -#ifndef _WIN32 + +#ifdef _WIN32 +#include <windows.h> +#else #include <unistd.h> #endif
--------------
Ref. Nicks commit here: https://gitweb.torproject.org/tor.git/commitdiff/1365ff5b9a04a7da2acc2e52df1...
--gv
On Fri, Mar 14, 2014 at 6:31 AM, Gisle Vanem gvanem@yahoo.no wrote:
Since tinytest_demo.c now calls Sleep(), we must include <windows.h>.
Looks good; applied it.
FWIW, tinytest is a slightly independent project; it's on github at https://github.com/nmathewson/tinytest .