commit | 80f577baa2f9d187579d4ecbb17e4f5e6fcba64c | [log] [tgz] |
---|---|---|
author | Nick Terrell <terrelln@fb.com> | Thu Aug 06 20:18:05 2020 -0700 |
committer | Nick Terrell <terrelln@fb.com> | Wed Aug 26 12:25:08 2020 -0700 |
tree | 6ee7f611a7842d0155d3bf4812796c00684e84f7 | |
parent | a8c66881e54546028706f3913c44943ed115e63d [diff] [blame] |
Move standard includes to zstd_deps.h
diff --git a/lib/common/threading.c b/lib/common/threading.c index e2edb31..8f38013 100644 --- a/lib/common/threading.c +++ b/lib/common/threading.c
@@ -78,7 +78,8 @@ #if defined(ZSTD_MULTITHREAD) && DEBUGLEVEL >= 1 && !defined(_WIN32) -#include <stdlib.h> +#define ZSTD_DEPS_NEED_MALLOC +#include "zstd_deps.h" int ZSTD_pthread_mutex_init(ZSTD_pthread_mutex_t* mutex, pthread_mutexattr_t const* attr) {