Browse code

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

Following are tested: TCP_KEEPINTVL, TCP_KEEPIDLE, TCP_KEEPCNT

Mikko Lehto authored on 29/01/2016 12:55:34
Showing 1 changed files
... ...
@@ -23,6 +23,7 @@
23 23
 
24 24
 #ifdef USE_TCP
25 25
 
26
+#include <netinet/tcp.h>
26 27
 #ifndef NO_TCP_ASYNC
27 28
 #define TCP_ASYNC /* enabled async mode */
28 29
 #endif