From a29d1b9e3f8e81e51a3ae9d936c160e981cb7955 Mon Sep 17 00:00:00 2001 From: itamar Date: Fri, 9 Dec 2016 15:14:44 +0200 Subject: [PATCH] Takes redismodule.h from include directory --- rmutil/alloc.c | 2 -- rmutil/alloc.h | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/rmutil/alloc.c b/rmutil/alloc.c index f272454..27f8ef1 100644 --- a/rmutil/alloc.c +++ b/rmutil/alloc.c @@ -1,8 +1,6 @@ #include #include #include - -#include "../redismodule.h" #include "alloc.h" /* A patched implementation of strdup that will use our patched calloc */ diff --git a/rmutil/alloc.h b/rmutil/alloc.h index 8c5cec6..3684288 100644 --- a/rmutil/alloc.h +++ b/rmutil/alloc.h @@ -17,7 +17,7 @@ */ #include -#include "../redismodule.h" +#include char *rmalloc_strndup(const char *s, size_t n); @@ -43,4 +43,4 @@ char *rmalloc_strndup(const char *s, size_t n); void RMUTil_InitAlloc(); #endif /* REDIS_MODULE_TARGET */ -#endif /* __RMUTIL_ALLOC__ */ \ No newline at end of file +#endif /* __RMUTIL_ALLOC__ */