diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/replace/wscript | 2 | ||||
-rw-r--r-- | lib/util/util_net.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript index c21a8f87e9..7c2d5191d7 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -54,7 +54,7 @@ struct foo bar = { .y = 'X', .x = 1 }; break # Try to find the right extra flags for -Werror behaviour - for f in ["-Werror", "-w2", "-errwarn"]: + for f in ["-Werror", "-w2", "-errwarn=%all"]: if conf.CHECK_CFLAGS([f], ''' '''): if not 'WERROR_CFLAGS' in conf.env: diff --git a/lib/util/util_net.c b/lib/util/util_net.c index 83afda4c78..536c0a4e2b 100644 --- a/lib/util/util_net.c +++ b/lib/util/util_net.c @@ -817,6 +817,9 @@ static const smb_socket_option socket_options[] = { #ifdef TCP_QUICKACK {"TCP_QUICKACK", IPPROTO_TCP, TCP_QUICKACK, 0, OPT_BOOL}, #endif +#ifdef TCP_FASTOPEN + {"TCP_FASTOPEN", IPPROTO_TCP, TCP_FASTOPEN, 0, OPT_BOOL}, +#endif #ifdef TCP_NODELAYACK {"TCP_NODELAYACK", IPPROTO_TCP, TCP_NODELAYACK, 0, OPT_BOOL}, #endif |