about summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2021-12-11 20:53:10 +0100
committerRobin Jarry <robin@jarry.cc>2021-12-11 21:45:51 +0100
commit15a4cc7d0a84870ba04307154f394f9bdc98fd31 (patch)
tree47840744eafdf50a7fc1b1402e6ffaf078c4433a /doc
parent175d0efeb22eb61ce40a1b25969886a66fcdf83e (diff)
downloadaerc-15a4cc7d0a84870ba04307154f394f9bdc98fd31.tar.gz
imap: fix build on macos
Fix the following build error on mac os:

 worker/imap/worker.go:368:29: undefined: syscall.TCP_KEEPCNT
 worker/imap/worker.go:376:29: undefined: syscall.TCP_KEEPINTVL

These symbols are not defined on darwin.

Fixes: 5dfeff75f368 ("imap: add tcp connection options")
Signed-off-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'doc')
-rw-r--r--doc/aerc-imap.5.scd6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/aerc-imap.5.scd b/doc/aerc-imap.5.scd
index e6a4460..478dbae 100644
--- a/doc/aerc-imap.5.scd
+++ b/doc/aerc-imap.5.scd
@@ -82,6 +82,9 @@ available:
 	By default, the system tcp socket settings are used.
 	If keepalive-period is specified, this option defaults to 3 probes.
 
+	This option is only supported on linux. On other platforms, it will be
+	ignored.
+
 *keepalive-interval*
 	The interval between subsequential keepalive probes, regardless of what
 	the connection has exchanged in the meantime. Fractional seconds are
@@ -90,6 +93,9 @@ available:
 	By default, the system tcp socket settings are used.
 	If keepalive-period is specified, this option defaults to 3s.
 
+	This option is only supported on linux. On other platforms, it will be
+	ignored.
+
 # SEE ALSO
 
 *aerc*(1) *aerc-config*(5)