[tor-dev] <unistd.h> in buffers_net.c
Gisle Vanem
gisle.vanem at gmail.com
Thu Jan 3 03:27:09 UTC 2019
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
More information about the tor-dev
mailing list