diff --git a/src/hyperloglog.c b/src/hyperloglog.c index 742c47b1a6..0533e0f755 100644 --- a/src/hyperloglog.c +++ b/src/hyperloglog.c @@ -4,8 +4,13 @@ * Copyright (c) 2014-Present, Redis Ltd. * All rights reserved. * + * Copyright (c) 2024-present, Valkey contributors. + * All rights reserved. + * * Licensed under your choice of the Redis Source Available License 2.0 * (RSALv2) or the Server Side Public License v1 (SSPLv1). + * + * Portions of this file are available under BSD3 terms; see REDISCONTRIBUTIONS for more information. */ #include "server.h" @@ -14,6 +19,9 @@ #include #ifdef HAVE_AVX2 +/* Define __MM_MALLOC_H to prevent importing the memory aligned + * allocation functions, which we don't use. */ +#define __MM_MALLOC_H #include #endif