summaryrefslogtreecommitdiff
path: root/thirdparty/zstd/common/xxhash.c
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/zstd/common/xxhash.c')
-rw-r--r--thirdparty/zstd/common/xxhash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/thirdparty/zstd/common/xxhash.c b/thirdparty/zstd/common/xxhash.c
index 9d9c0e963c..532b816192 100644
--- a/thirdparty/zstd/common/xxhash.c
+++ b/thirdparty/zstd/common/xxhash.c
@@ -98,6 +98,7 @@
/* Modify the local functions below should you wish to use some other memory routines */
/* for malloc(), free() */
#include <stdlib.h>
+#include <stddef.h> /* size_t */
static void* XXH_malloc(size_t s) { return malloc(s); }
static void XXH_free (void* p) { free(p); }
/* for memcpy() */