summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/OS/os.h-Linux2
-rw-r--r--test/scripts/2100-OpenSSL/21522
2 files changed, 3 insertions, 1 deletions
diff --git a/src/OS/os.h-Linux b/src/OS/os.h-Linux
index 510865c66..cc1cef99b 100644
--- a/src/OS/os.h-Linux
+++ b/src/OS/os.h-Linux
@@ -69,6 +69,8 @@ then change the 0 to 1 in the next block. */
# define EXIM_HAVE_OPENAT
#endif
+#include <netinet/tcp.h> /* for TCP_FASTOPEN */
+#include <sys/socket.h> /* for MSG_FASTOPEN */
#if defined(TCP_FASTOPEN) && !defined(MSG_FASTOPEN)
# define MSG_FASTOPEN 0x20000000
#endif
diff --git a/test/scripts/2100-OpenSSL/2152 b/test/scripts/2100-OpenSSL/2152
index 329e42051..12a482a93 100644
--- a/test/scripts/2100-OpenSSL/2152
+++ b/test/scripts/2100-OpenSSL/2152
@@ -2,7 +2,7 @@
#
# If all works you'll not see any difference. To enable in the
# kernel, 'sudo sh -c "echo 3 > /proc/sys/net/ipv4/tcp_fastopen"'.
-# A packet capture on the loopback interface will show the TFU
+# A packet capture on the loopback interface will show the TFO
# option on the SYN, but the fast-output SMTP banner will not
# be seen unless you also deliberately emulate a long path:
# 'sudo tc qdisc add dev lo root netem delay 100ms'