summaryrefslogtreecommitdiff
path: root/thirdparty/lws/mbedtls_wrapper
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2018-02-28 18:08:20 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2018-02-28 18:09:43 +0100
commitea7af81460ac3322519bf840612e009da0047db6 (patch)
tree5082d120583fc5dc528d7b7745054d4fed5c4fc7 /thirdparty/lws/mbedtls_wrapper
parent3d03bcd0636aacfe530c52fc1cdc32c2edffea04 (diff)
Fix lws compilation on FreeBSD, same as OSX
This error is actually fixed upstream, waiting for a new release
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"