Commit 275068c8 authored by michael-grunder's avatar michael-grunder
Browse files

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

parent 6866158f
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
#include <math.h> #include <math.h>
#include <pthread.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 <sds.h> /* Use hiredis sds. */
#include "ae.h" #include "ae.h"
#include "hiredis.h" #include "hiredis.h"
......
...@@ -52,6 +52,7 @@ ...@@ -52,6 +52,7 @@
#include <openssl/err.h> #include <openssl/err.h>
#include <hiredis_ssl.h> #include <hiredis_ssl.h>
#endif #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 <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 "dict.h"
#include "adlist.h" #include "adlist.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment