瀏覽代碼

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

Following are tested: TCP_KEEPINTVL, TCP_KEEPIDLE, TCP_KEEPCNT
Mikko Lehto 9 年之前
父節點
當前提交
6627098eb4
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      tcp_options.h

+ 1 - 0
tcp_options.h

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