summaryrefslogtreecommitdiff
path: root/hiredis.h
diff options
context:
space:
mode:
authorMichael Grunder <michael.grunder@gmail.com>2020-01-28 12:13:05 -0800
committerGitHub <noreply@github.com>2020-01-28 12:13:05 -0800
commit669ac9d0c843f9ccf07d4969ff6bff75fafee01f (patch)
tree6075cb357e13342f6844dc9891d6c3c38c8e6f86 /hiredis.h
parent0501c623c91344e54cb2775a91509650960789b1 (diff)
Safe allocation wrappers (#754)
Create allocation wrappers with a configurable OOM handler (defaults to abort()). See #752, #747
Diffstat (limited to 'hiredis.h')
-rw-r--r--hiredis.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hiredis.h b/hiredis.h
index bdc6670..9921e61 100644
--- a/hiredis.h
+++ b/hiredis.h
@@ -42,6 +42,7 @@ struct timeval; /* forward declaration */
#endif
#include <stdint.h> /* uintXX_t, etc */
#include "sds.h" /* for sds */
+#include "alloc.h" /* for allocation wrappers */
#define HIREDIS_MAJOR 0
#define HIREDIS_MINOR 14