summaryrefslogtreecommitdiff
path: root/thirdparty
diff options
context:
space:
mode:
authorrobfram <robfram@gmail.com>2018-02-07 17:48:33 +0100
committerrobfram <robfram@gmail.com>2018-02-13 18:12:39 +0100
commit59baf3da921a9d071e27aceffcca7a3b5981149d (patch)
treeb17609cd15f97d0073762ae6a41d73968cc0a590 /thirdparty
parentcbdd410a6f476503ee4bc27ac2f475a73960236d (diff)
Add FreeBSD and OpenBSD #defines to skip LWS_HAVE_SYS_PRCTL_H
compiling libwebsocket, as it would fail otherwise. Fix #16472.
Diffstat (limited to 'thirdparty')
-rw-r--r--thirdparty/lws/lws_config_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/lws/lws_config_private.h b/thirdparty/lws/lws_config_private.h
index 235f2ba26d..475d1bd3f8 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 <sys/prctl.h> 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