浏览代码

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

Fix compilation errors with FreeBSD and libwebsocket
Rémi Verschelde 7 年之前
父节点
当前提交
2099f7bc41
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      thirdparty/lws/lws_config_private.h

+ 1 - 1
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