From 59baf3da921a9d071e27aceffcca7a3b5981149d Mon Sep 17 00:00:00 2001 From: robfram Date: Wed, 7 Feb 2018 17:48:33 +0100 Subject: [PATCH] Add FreeBSD and OpenBSD #defines to skip LWS_HAVE_SYS_PRCTL_H compiling libwebsocket, as it would fail otherwise. Fix #16472. --- thirdparty/lws/lws_config_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thirdparty/lws/lws_config_private.h b/thirdparty/lws/lws_config_private.h index 235f2ba26d6..475d1bd3f8d 100644 --- a/thirdparty/lws/lws_config_private.h +++ b/thirdparty/lws/lws_config_private.h @@ -81,7 +81,7 @@ /* Define to 1 if you have the header file. */ #define LWS_HAVE_SYS_PRCTL_H -#if defined(OSX_ENABLED) || defined(IPHONE_ENABLED) +#if defined(OSX_ENABLED) || defined(IPHONE_ENABLED) || defined(__FreeBSD__) || defined(__OpenBSD__) #undef LWS_HAVE_SYS_PRCTL_H #endif