summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-09-15 14:08:46 -0400
committerNick Mathewson <nickm@torproject.org>2017-09-15 14:08:51 -0400
commit03e102c1bb04c29392192187f031d45357a9815f (patch)
treea268afdc5f75d1abb18edcf6f1d1006df385c971
parent44fa86662182aa6a3d46d2ca72919d8e6a8f9584 (diff)
downloadtor-03e102c1bb04c29392192187f031d45357a9815f.tar.gz
tor-03e102c1bb04c29392192187f031d45357a9815f.zip
Make netinet/tcp include conditional too: windows lacks it.
-rw-r--r--src/or/scheduler_kist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/scheduler_kist.c b/src/or/scheduler_kist.c
index 30e86f182c..f119cd696e 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 */