add missing file marco

This commit is contained in:
hwware 2020-02-22 11:38:51 -05:00 committed by antirez
parent fe81d5c8a9
commit 6ef018785b

View File

@ -36,7 +36,12 @@
* the include of your alternate allocator if needed (not needed in order
* to use the default libc allocator). */
#ifndef __SDS_ALLOC_H__
#define __SDS_ALLOC_H__
#include "zmalloc.h"
#define s_malloc zmalloc
#define s_realloc zrealloc
#define s_free zfree
#endif