Logging: restrict TFO client-side to Linux
[users/heiko/exim.git] / src / src / smtp_out.c
index d5bf262beead4813f5f782bb9373f68ba71ead81..ee39cb2fb4769f2aef85e1b6091418563c196d54 100644 (file)
@@ -144,7 +144,7 @@ return TRUE;
 static void
 tfo_out_check(int sock)
 {
-# ifdef TCP_INFO
+# if defined(TCP_INFO) && defined(EXIM_HAVE_TCPI_UNACKED)
 struct tcp_info tinfo;
 socklen_t len = sizeof(tinfo);