summaryrefslogtreecommitdiff
path: root/thirdparty/lws/mbedtls_wrapper
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-02-28 21:13:58 +0100
committerGitHub <noreply@github.com>2018-02-28 21:13:58 +0100
commitc6dff58f491c30ffc2a81a8d69da86ff8105053f (patch)
tree70a1ec6616f76adbdbed37a84ca7d8bdde602654 /thirdparty/lws/mbedtls_wrapper
parent3d03bcd0636aacfe530c52fc1cdc32c2edffea04 (diff)
parent659c62ee338975eddf1f7e65f68190af65199324 (diff)
Merge pull request #17115 from Faless/lws_bsd_malloc
Fix mbedTLS and Websocket on FreeBSD
Diffstat (limited to 'thirdparty/lws/mbedtls_wrapper')
-rw-r--r--thirdparty/lws/mbedtls_wrapper/include/platform/ssl_port.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/lws/mbedtls_wrapper/include/platform/ssl_port.h b/thirdparty/lws/mbedtls_wrapper/include/platform/ssl_port.h
index fd461e9819..2ffd7e7544 100644
--- a/thirdparty/lws/mbedtls_wrapper/include/platform/ssl_port.h
+++ b/thirdparty/lws/mbedtls_wrapper/include/platform/ssl_port.h
@@ -25,7 +25,7 @@
*/
#include "string.h"
-#ifdef __APPLE__
+#if defined(__APPLE__) || defined(__FreeBSD__)
#include <stdlib.h>
#else
#include "malloc.h"