From c84ab36eff6fcd54ffe9d271aa16e19acddeba54 Mon Sep 17 00:00:00 2001
From: Nick Mathewson <nickm@torproject.org>
Date: Thu, 28 Jun 2018 16:37:59 -0400
Subject: [PATCH] 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 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>
 
-- 
GitLab