[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Make netinet/tcp include conditional too: windows lacks it.
commit 03e102c1bb04c29392192187f031d45357a9815f
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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 */
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits