X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/73a10da9bbc6aadd03c3aff7a12307252e617a71..1c519e07b908a314ce7bdfceb6baa9e18e302dfc:/src/src/smtp_out.c diff --git a/src/src/smtp_out.c b/src/src/smtp_out.c index 3dc3a13fb..96ee15282 100644 --- a/src/src/smtp_out.c +++ b/src/src/smtp_out.c @@ -155,11 +155,11 @@ return TRUE; static void tfo_out_check(int sock) { +# ifdef __FreeBSD__ struct tcp_info tinfo; int val; socklen_t len = sizeof(val); -# ifdef __FreeBSD__ /* The observability as of 12.1 is not useful as a client, only telling us that a TFO option was used on SYN. It could have been a TFO-R, or ignored by the server. */ @@ -177,6 +177,8 @@ switch (tcp_out_fastopen) # else /* Linux & Apple */ # if defined(TCP_INFO) && defined(EXIM_HAVE_TCPI_UNACKED) +struct tcp_info tinfo; +socklen_t len = sizeof(tinfo); switch (tcp_out_fastopen) {