diff options
author | Hugo Beauzée-Luyssen <hugo@videolan.org> | 2018-09-22 14:47:23 +0300 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2018-09-22 14:59:24 +0300 |
commit | 447cd10d4cd5a810b7b359160e78d855842df112 (patch) | |
tree | b4585c9fecc517c911daea94915e7ff3a127272c | |
parent | 707a32a57df226e3364dcc4373fc32ae7a69af91 (diff) |
Fix macOS build
-rw-r--r-- | include/common/mem.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/common/mem.h b/include/common/mem.h index d266c5d..1a96cb3 100644 --- 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 |