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 | 8a9a5fe783823c920b865fa55153ec427b490f5d (patch) | |
tree | 3b6fd0f18273a9a4cc5e4f99cc83003f8398ba39 | |
parent | d92bf062217525cfde52aca020f92b5e040dc350 (diff) | |
download | prosody-8a9a5fe783823c920b865fa55153ec427b490f5d.tar.gz prosody-8a9a5fe783823c920b865fa55153ec427b490f5d.zip |
util.pposix: Limit meminfo to Linux until we can figure out how to get this info on other platforms
-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 |