commit 03e102c1bb04c29392192187f031d45357a9815f
parent 44fa86662182aa6a3d46d2ca72919d8e6a8f9584
Author: Nick Mathewson <nickm@torproject.org>
Date: Fri, 15 Sep 2017 14:08:46 -0400
Make netinet/tcp include conditional too: windows lacks it.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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 */