Pārlūkot izejas kodu

tcp: include netinet/tcp.h to make certain macros available

Following are tested: TCP_KEEPINTVL, TCP_KEEPIDLE, TCP_KEEPCNT
Mikko Lehto 9 gadi atpakaļ
vecāks
revīzija
6627098eb4
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      tcp_options.h

+ 1 - 0
tcp_options.h

@@ -23,6 +23,7 @@
 
 
 #ifdef USE_TCP
 #ifdef USE_TCP
 
 
+#include <netinet/tcp.h>
 #ifndef NO_TCP_ASYNC
 #ifndef NO_TCP_ASYNC
 #define TCP_ASYNC /* enabled async mode */
 #define TCP_ASYNC /* enabled async mode */
 #endif
 #endif