mirror of
https://github.com/facebook/zstd.git
synced 2025-10-15 00:02:02 -04:00
Include stddef.h for size_t
This commit is contained in:
parent
f2d6db45cd
commit
109bd37474
@ -98,6 +98,7 @@
|
|||||||
/* Modify the local functions below should you wish to use some other memory routines */
|
/* Modify the local functions below should you wish to use some other memory routines */
|
||||||
/* for malloc(), free() */
|
/* for malloc(), free() */
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <stddef.h> /* size_t */
|
||||||
static void* XXH_malloc(size_t s) { return malloc(s); }
|
static void* XXH_malloc(size_t s) { return malloc(s); }
|
||||||
static void XXH_free (void* p) { free(p); }
|
static void XXH_free (void* p) { free(p); }
|
||||||
/* for memcpy() */
|
/* for memcpy() */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user