diff options
author | Kim Alvefur <zash@zash.se> | 2017-03-07 22:33:57 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-03-07 22:33:57 +0100 |
commit | 3c789f1ac723d5e4673405d8cc250a977de17e53 (patch) | |
tree | 3b6fd0f18273a9a4cc5e4f99cc83003f8398ba39 /util-src/pposix.c | |
parent | 5ca8621ef4c3220607ed80f8fc3f822b881e8a71 (diff) | |
download | prosody-3c789f1ac723d5e4673405d8cc250a977de17e53.tar.gz prosody-3c789f1ac723d5e4673405d8cc250a977de17e53.zip |
util.pposix: Limit meminfo to Linux until we can figure out how to get this info on other platforms
Diffstat (limited to 'util-src/pposix.c')
-rw-r--r-- | util-src/pposix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-src/pposix.c b/util-src/pposix.c index f9c07e54..78c02365 100644 --- a/util-src/pposix.c +++ b/util-src/pposix.c @@ -52,7 +52,7 @@ #include <linux/falloc.h> #endif -#if !defined(WITHOUT_MALLINFO) +#if !defined(WITHOUT_MALLINFO) && defined(__linux__) #include <malloc.h> #define WITH_MALLINFO #endif |