[tor-commits] [tor/master] Make netinet/tcp include conditional too: windows lacks it.

nickm at torproject.org nickm at torproject.org
Fri Sep 15 18:09:00 UTC 2017


commit 03e102c1bb04c29392192187f031d45357a9815f
Author: Nick Mathewson <nickm at torproject.org>
Date:   Fri Sep 15 14:08:46 2017 -0400

    Make netinet/tcp include conditional too: windows lacks it.
---
 src/or/scheduler_kist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/or/scheduler_kist.c b/src/or/scheduler_kist.c
index 30e86f182..f119cd696 100644
--- a/src/or/scheduler_kist.c
+++ b/src/or/scheduler_kist.c
@@ -4,7 +4,6 @@
 #define SCHEDULER_KIST_PRIVATE
 
 #include <event2/event.h>
-#include <netinet/tcp.h>
 
 #include "or.h"
 #include "buffers.h"
@@ -21,6 +20,7 @@
 
 #ifdef HAVE_KIST_SUPPORT
 /* Kernel interface needed for KIST. */
+#include <netinet/tcp.h>
 #include <linux/sockios.h>
 #endif /* HAVE_KIST_SUPPORT */
 



More information about the tor-commits mailing list