summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2021-06-06 22:03:35 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2021-06-06 22:03:35 +0100
commit66e8d6abf5d8641241ff26eab09b183c4059120c (patch)
tree73e6d9387712c7a062ddb4285b7c16ee7d5d85a9
parent9d783bb9f39bca59e720d0c543499b372c412441 (diff)
downloadexim4-66e8d6abf5d8641241ff26eab09b183c4059120c.tar.gz
Fix non-Linux build
-rw-r--r--src/src/daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/daemon.c b/src/src/daemon.c
index 2d8b223c4..ebe3be3be 100644
--- a/src/src/daemon.c
+++ b/src/src/daemon.c
@@ -2504,13 +2504,13 @@ for (;;)
if (FD_ISSET(lfd, &fds))
{
EXIM_SOCKLEN_T alen = sizeof(accepted);
+#if defined(TCP_INFO)
struct tcp_info ti;
socklen_t tlen = sizeof(ti);
/* If monitoring the backlog is wanted, grab for later logging */
smtp_listen_backlog = 0;
-#if defined(TCP_INFO)
if ( smtp_backlog_monitor > 0
&& getsockopt(lfd, IPPROTO_TCP, TCP_INFO, &ti, &tlen) == 0)
{