summary refs log tree commit diff
path: root/local.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--local.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/local.c b/local.c
index b3670ee..22e6f59 100644
--- a/local.c
+++ b/local.c
@@ -49,6 +49,10 @@
 
 #include "bounce.h"
 
+#ifdef __APPLE__
+#define TCP_KEEPIDLE TCP_KEEPALIVE
+#endif
+
 static struct tls *server;
 
 static byte *readFile(size_t *len, FILE *file) {