util.pposix: Limit meminfo to Linux until we can figure out how to get this info on other platforms

This commit is contained in:
Kim Alvefur 2017-03-07 22:33:57 +01:00
parent 5ca8621ef4
commit 3c789f1ac7

View file

@ -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