summaryrefslogtreecommitdiff
path: root/src/zmalloc.h
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2019-09-15 14:05:00 +0100
committerDavid Carlier <devnexen@gmail.com>2019-09-15 14:05:00 +0100
commit819a661be5efcb045be4d34d7269ab35dc0fcb88 (patch)
tree781b842606ec42e001dd232a23cab98b08c0291c /src/zmalloc.h
parent888efc1b3642959b05815473663a5f0971af53ac (diff)
downloadredis-819a661be5efcb045be4d34d7269ab35dc0fcb88.tar.gz
Getting region date per process in Darwin
Diffstat (limited to 'src/zmalloc.h')
-rw-r--r--src/zmalloc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/zmalloc.h b/src/zmalloc.h
index 6fb19b046..4aa33509d 100644
--- a/src/zmalloc.h
+++ b/src/zmalloc.h
@@ -57,6 +57,7 @@
#elif defined(__APPLE__)
#include <malloc/malloc.h>
+#include <libproc.h>
#define HAVE_MALLOC_SIZE 1
#define zmalloc_size(p) malloc_size(p)
#endif