Merge pull request #16474 from robfram/fix-compile-freebsd-websocket

Fix compilation errors with FreeBSD and libwebsocket
This commit is contained in:
Rémi Verschelde 2018-02-13 19:37:07 +01:00 committed by GitHub
commit 2099f7bc41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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