]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Make netinet/tcp include conditional too: windows lacks it.
authorNick Mathewson <nickm@torproject.org>
Fri, 15 Sep 2017 18:08:46 +0000 (14:08 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 15 Sep 2017 18:08:51 +0000 (14:08 -0400)
src/or/scheduler_kist.c

index 30e86f182c28cd0eb360a81744e4f795e44bbada..f119cd696e5d67439740f5deb84e1e59f2cf2502 100644 (file)
@@ -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 */