Include stddef.h for size_t

This commit is contained in:
Nick Terrell 2018-09-27 15:22:34 -07:00
parent f2d6db45cd
commit 109bd37474

View File

@ -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() */