[tor-commits] [tor/master] A couple of includes to make windows compile again
nickm at torproject.org
nickm at torproject.org
Thu Jun 28 21:21:39 UTC 2018
commit c84ab36eff6fcd54ffe9d271aa16e19acddeba54
Author: Nick Mathewson <nickm at torproject.org>
Date: Thu Jun 28 16:37:59 2018 -0400
A couple of includes to make windows compile again
---
src/lib/net/buffers_net.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/lib/net/buffers_net.c b/src/lib/net/buffers_net.c
index 01be30f5a..edc9954f2 100644
--- a/src/lib/net/buffers_net.c
+++ b/src/lib/net/buffers_net.c
@@ -9,6 +9,11 @@
#include "lib/container/buffers.h"
#include "lib/log/torlog.h"
#include "lib/log/util_bug.h"
+#include "lib/net/nettypes.h"
+
+#ifdef _WIN32
+#include <winsock2.h>
+#endif
#include <stdlib.h>
More information about the tor-commits
mailing list