diff options
author | hwware <wen.hui.ware@gmail.com> | 2020-02-22 11:38:51 -0500 |
---|---|---|
committer | hwware <wen.hui.ware@gmail.com> | 2020-02-22 11:38:51 -0500 |
commit | 743cfc0ad604c48bfa8c408ca36c6a5b90996aad (patch) | |
tree | 5ef04c2dd9ce2803d42c2260670be58cc97af1ec | |
parent | e78c4e813cecfa97505efe29c073f8088542f69e (diff) | |
download | redis-743cfc0ad604c48bfa8c408ca36c6a5b90996aad.tar.gz |
add missing file marco
-rw-r--r-- | src/sdsalloc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sdsalloc.h b/src/sdsalloc.h index 531d41929..c04ff2a0a 100644 --- a/src/sdsalloc.h +++ b/src/sdsalloc.h @@ -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 |