]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Include stddef.h for size_t
authorNick Terrell <terrelln@fb.com>
Thu, 27 Sep 2018 22:22:34 +0000 (15:22 -0700)
committerNick Terrell <terrelln@fb.com>
Thu, 27 Sep 2018 22:24:48 +0000 (15:24 -0700)
lib/common/xxhash.c

index 9d9c0e963cbf5f09bc9f91bdd33ae5f75287c7cc..532b8161929de3bff598729a78ab6cc9a665b3c1 100644 (file)
@@ -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() */