summaryrefslogtreecommitdiff
path: root/thirdparty/lws
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-02-13 19:37:07 +0100
committerGitHub <noreply@github.com>2018-02-13 19:37:07 +0100
commit2099f7bc41288c9cfed1572f7324bd8010305603 (patch)
tree7063a7f75fa7479f2c6a9dd64e04430fa92a8559 /thirdparty/lws
parenta8edad212846a3c1725df31789bd341c3f2eaca5 (diff)
parent59baf3da921a9d071e27aceffcca7a3b5981149d (diff)
Merge pull request #16474 from robfram/fix-compile-freebsd-websocket
Fix compilation errors with FreeBSD and libwebsocket
Diffstat (limited to 'thirdparty/lws')
-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