[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] A couple of includes to make windows compile again



commit c84ab36eff6fcd54ffe9d271aa16e19acddeba54
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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>
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits