aboutsummaryrefslogtreecommitdiff
path: root/src/lib/net
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-28 16:37:59 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-28 16:37:59 -0400
commitc84ab36eff6fcd54ffe9d271aa16e19acddeba54 (patch)
tree9c111315f4d3ae6b1f00d6b43ca57314feb2406c /src/lib/net
parent935ba025653567f1700d2590b3ccd008460dbf6e (diff)
downloadtor-c84ab36eff6fcd54ffe9d271aa16e19acddeba54.tar.gz
tor-c84ab36eff6fcd54ffe9d271aa16e19acddeba54.zip
A couple of includes to make windows compile again
Diffstat (limited to 'src/lib/net')
-rw-r--r--src/lib/net/buffers_net.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/net/buffers_net.c b/src/lib/net/buffers_net.c
index 01be30f5af..edc9954f22 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>