Takes redismodule.h from include directory

master
itamar 8 years ago
parent 51def57c8c
commit a29d1b9e3f

@ -1,8 +1,6 @@
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include "../redismodule.h"
#include "alloc.h" #include "alloc.h"
/* A patched implementation of strdup that will use our patched calloc */ /* A patched implementation of strdup that will use our patched calloc */

@ -17,7 +17,7 @@
*/ */
#include <stdlib.h> #include <stdlib.h>
#include "../redismodule.h" #include <redismodule.h>
char *rmalloc_strndup(const char *s, size_t n); 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(); void RMUTil_InitAlloc();
#endif /* REDIS_MODULE_TARGET */ #endif /* REDIS_MODULE_TARGET */
#endif /* __RMUTIL_ALLOC__ */ #endif /* __RMUTIL_ALLOC__ */

Loading…
Cancel
Save