From 93eb16d023603f7f9c55c624162a93a74d4a65eb Mon Sep 17 00:00:00 2001 From: Andre Maroneze <andre.maroneze@cea.fr> Date: Tue, 6 Jul 2021 10:33:15 +0200 Subject: [PATCH] [Libc] add constant useful for macOS --- share/libc/netinet/tcp.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/share/libc/netinet/tcp.h b/share/libc/netinet/tcp.h index d52d17fee14..db1c52f8a1c 100644 --- a/share/libc/netinet/tcp.h +++ b/share/libc/netinet/tcp.h @@ -343,6 +343,9 @@ struct tcp_cookie_transactions #endif /* Misc. */ +// The definition below appears on macOS, but it is neither POSIX nor in glibc +#define TCP_KEEPALIVE 0x10 + __END_DECLS __POP_FC_STDLIB -- GitLab