From cf819ebec5c2c1663a1aec58e3b1d76857b28c57 Mon Sep 17 00:00:00 2001 From: Max Lv Date: Thu, 11 Aug 2016 12:26:22 +0800 Subject: [PATCH] Fix #765 --- src/netutils.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/netutils.h b/src/netutils.h index 2f1be483..92fb0c17 100644 --- a/src/netutils.h +++ b/src/netutils.h @@ -26,6 +26,8 @@ // only enable TCP_FASTOPEN on linux #if defined(__linux__) +#include + /* conditional define for TCP_FASTOPEN */ #ifndef TCP_FASTOPEN #define TCP_FASTOPEN 23 @@ -44,10 +46,9 @@ #endif - /* Define the flag MPTCP_ENABLED if not defined*/ #ifndef MPTCP_ENABLED -#define MPTCP_ENABLED 26 +#define MPTCP_ENABLED 42 #endif /** byte size of ip4 address */