# HG changeset patch # User Kim Alvefur # Date 1488922437 -3600 # Node ID 57f98394b830e5f2092ebab30faf27f29ab10371 # Parent 1023f2add7fe99102b28de3707576c9d8e3fa758 util.pposix: Limit meminfo to Linux until we can figure out how to get this info on other platforms diff -r 1023f2add7fe -r 57f98394b830 util-src/pposix.c --- a/util-src/pposix.c Tue Mar 07 21:48:05 2017 +0100 +++ b/util-src/pposix.c Tue Mar 07 22:33:57 2017 +0100 @@ -52,7 +52,7 @@ #include #endif -#if !defined(WITHOUT_MALLINFO) +#if !defined(WITHOUT_MALLINFO) && defined(__linux__) #include #define WITH_MALLINFO #endif