Module: kamailio
Branch: master
Commit: 3f0ca2f88afbd0819df2e4fecf603b72f757b3f4
URL:
https://github.com/kamailio/kamailio/commit/3f0ca2f88afbd0819df2e4fecf603b7…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-09-24T19:55:34+02:00
ndb_redis: updated include paths for pkg-config usage
---
Modified: src/modules/ndb_redis/Makefile
Modified: src/modules/ndb_redis/redis_client.h
---
Diff:
https://github.com/kamailio/kamailio/commit/3f0ca2f88afbd0819df2e4fecf603b7…
Patch:
https://github.com/kamailio/kamailio/commit/3f0ca2f88afbd0819df2e4fecf603b7…
---
diff --git a/src/modules/ndb_redis/Makefile b/src/modules/ndb_redis/Makefile
index 939a5cc680..e426088489 100644
--- a/src/modules/ndb_redis/Makefile
+++ b/src/modules/ndb_redis/Makefile
@@ -13,7 +13,7 @@ HIREDIS_BUILDER = $(shell \
endif
ifeq ($(HIREDIS_BUILDER),)
- HIREDISDEFS=-I$(LOCALBASE)/include
+ HIREDISDEFS=-I$(LOCALBASE)/include -I$(LOCALBASE)/include/hiredis
HIREDISLIBS=-L$(LOCALBASE)/lib -lhiredis
else
HIREDISDEFS = $(shell $(HIREDIS_BUILDER) --cflags)
diff --git a/src/modules/ndb_redis/redis_client.h b/src/modules/ndb_redis/redis_client.h
index c1d907042f..c9e3d80424 100644
--- a/src/modules/ndb_redis/redis_client.h
+++ b/src/modules/ndb_redis/redis_client.h
@@ -28,7 +28,7 @@
#ifndef _REDIS_CLIENT_H_
#define _REDIS_CLIENT_H_
-#include <hiredis/hiredis.h>
+#include <hiredis.h>
#include "../../core/str.h"
#include "../../core/parser/parse_param.h"