Add FreeBSD and OpenBSD #defines to skip LWS_HAVE_SYS_PRCTL_H

compiling libwebsocket, as it would fail otherwise. Fix #16472.
This commit is contained in:
robfram 2018-02-07 17:48:33 +01:00
parent cbdd410a6f
commit 59baf3da92

View file

@ -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