[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-dev] <unistd.h> in buffers_net.c
Some recent change has added a:
#include <unistd.h>
which fails for MSVC (it doesn't have it).
Since I fail to find any way to comment on Trac or Gitweb,
I give notice here. Patching into:
--- a/src/lib/net/buffers_net.c 2019-01-02 18:57:42
+++ b/src/lib/net/buffers_net.c 2019-01-03 03:16:32
@@ -21,7 +21,10 @@
#endif
#include <stdlib.h>
+
+#ifndef _MSC_VER
#include <unistd.h>
+#endif
#ifdef PARANOIA
----------------
works fine.
--
--gv
_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev