about summary refs log tree commit diff
path: root/local.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-08-01 00:10:58 -0400
committerJune McEnroe <june@causal.agency>2020-08-01 00:10:58 -0400
commitcbbee0458299355ccae4d9c1510cd85353b5c0cd (patch)
treea1a577b597612eb1f26aa6469eb84b6b04648822 /local.c
parentDefine explicit_bzero using memset_s on macOS (diff)
downloadpounce-cbbee0458299355ccae4d9c1510cd85353b5c0cd.tar.gz
pounce-cbbee0458299355ccae4d9c1510cd85353b5c0cd.zip
Remove compat.h
Diffstat (limited to 'local.c')
-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) {