Преглед изворни кода

Make netinet/tcp include conditional too: windows lacks it.

Nick Mathewson пре 8 година
родитељ
комит
03e102c1bb
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/or/scheduler_kist.c

+ 1 - 1
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 */