diff options
author | David Carlier <devnexen@gmail.com> | 2019-09-15 14:05:00 +0100 |
---|---|---|
committer | David Carlier <devnexen@gmail.com> | 2019-09-15 14:05:00 +0100 |
commit | 819a661be5efcb045be4d34d7269ab35dc0fcb88 (patch) | |
tree | 781b842606ec42e001dd232a23cab98b08c0291c /src/zmalloc.h | |
parent | 888efc1b3642959b05815473663a5f0971af53ac (diff) | |
download | redis-819a661be5efcb045be4d34d7269ab35dc0fcb88.tar.gz |
Getting region date per process in Darwin
Diffstat (limited to 'src/zmalloc.h')
-rw-r--r-- | src/zmalloc.h | 1 |
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 |