Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Beauzée-Luyssen <hugo@videolan.org>2018-09-22 14:47:23 +0300
committerRonald S. Bultje <rsbultje@gmail.com>2018-09-22 14:59:24 +0300
commit447cd10d4cd5a810b7b359160e78d855842df112 (patch)
treeb4585c9fecc517c911daea94915e7ff3a127272c /include/common
parent707a32a57df226e3364dcc4373fc32ae7a69af91 (diff)
Fix macOS build
Diffstat (limited to 'include/common')
-rw-r--r--include/common/mem.h3
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