[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-dev] [Patch] tinytest_demo.c
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/1365ff5b9a04a7da2acc2e52df18a61b6cb39fe6
--gv
_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev