ref: 447cd10d4cd5a810b7b359160e78d855842df112
parent: 707a32a57df226e3364dcc4373fc32ae7a69af91
author: Hugo Beauzée-Luyssen <hugo@videolan.org>
date: Sat Sep 22 09:47:23 EDT 2018
Fix macOS build
--- a/include/common/mem.h
+++ b/include/common/mem.h
@@ -30,7 +30,10 @@
#include <assert.h>
#include <stdlib.h>
+
+#ifdef HAVE_ALIGNED_MALLOC
#include <malloc.h>
+#endif
/*
* Allocate 32-byte aligned memory. The return value can be released