From 6d64a54d75ca0ad2bfd11a8acc3aeb2444b60cee Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Wed, 6 Mar 2019 06:34:31 +0100 Subject: [PATCH] Disable WebSocket IPv6 support on OpenBSD. OpenBSD does not support dual stacking, disabling IPv6 for now. Will possibly come back if/when we get websocket running using our own NetSocket class. --- thirdparty/libwebsockets/include/lws_config.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/thirdparty/libwebsockets/include/lws_config.h b/thirdparty/libwebsockets/include/lws_config.h index 6ec3eed139..fdf02157cc 100644 --- a/thirdparty/libwebsockets/include/lws_config.h +++ b/thirdparty/libwebsockets/include/lws_config.h @@ -77,8 +77,10 @@ /* #undef LWS_WITH_LIBEVENT */ /* Build with support for ipv6 */ -/* #undef LWS_WITH_IPV6 */ +/* Everywhere, except in OpenBSD which does not support dual stacking */ +#if !defined(__OpenBSD__) #define LWS_WITH_IPV6 +#endif /* Build with support for UNIX domain socket */ /* #undef LWS_WITH_UNIX_SOCK */