From 275068c86f3781fe016dfa4da2d59f1b486568e4 Mon Sep 17 00:00:00 2001 From: michael-grunder Date: Sat, 15 Aug 2020 13:13:23 -0700 Subject: [PATCH] Use Hiredis' sdscompat.h to map sds* calls to hi_sds* --- src/redis-benchmark.c | 1 + src/redis-cli.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/redis-benchmark.c b/src/redis-benchmark.c index fc24afbff..a86079156 100644 --- a/src/redis-benchmark.c +++ b/src/redis-benchmark.c @@ -42,6 +42,7 @@ #include #include +#include /* Use hiredis' sds compat header that maps sds calls to their hi_ variants */ #include /* Use hiredis sds. */ #include "ae.h" #include "hiredis.h" diff --git a/src/redis-cli.c b/src/redis-cli.c index 4df157d20..aefef2c5a 100644 --- a/src/redis-cli.c +++ b/src/redis-cli.c @@ -52,6 +52,7 @@ #include #include #endif +#include /* Use hiredis' sds compat header that maps sds calls to their hi_ variants */ #include /* use sds.h from hiredis, so that only one set of sds functions will be present in the binary */ #include "dict.h" #include "adlist.h"