Use Hiredis' sdscompat.h to map sds* calls to hi_sds*

This commit is contained in:
michael-grunder 2020-08-15 13:13:23 -07:00
parent 6866158f0d
commit 275068c86f
2 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,7 @@
#include <math.h>
#include <pthread.h>
#include <sdscompat.h> /* Use hiredis' sds compat header that maps sds calls to their hi_ variants */
#include <sds.h> /* Use hiredis sds. */
#include "ae.h"
#include "hiredis.h"

View File

@ -52,6 +52,7 @@
#include <openssl/err.h>
#include <hiredis_ssl.h>
#endif
#include <sdscompat.h> /* Use hiredis' sds compat header that maps sds calls to their hi_ variants */
#include <sds.h> /* 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"