Comparison

util-src/pposix.c @ 7965:57f98394b830

util.pposix: Limit meminfo to Linux until we can figure out how to get this info on other platforms
author Kim Alvefur <zash@zash.se>
date Tue, 07 Mar 2017 22:33:57 +0100
parent 7931:b619b85e01aa
child 7966:30309fd01d76
comparison
equal deleted inserted replaced
7964:1023f2add7fe 7965:57f98394b830
50 #include <fcntl.h> 50 #include <fcntl.h>
51 #if defined(__linux__) 51 #if defined(__linux__)
52 #include <linux/falloc.h> 52 #include <linux/falloc.h>
53 #endif 53 #endif
54 54
55 #if !defined(WITHOUT_MALLINFO) 55 #if !defined(WITHOUT_MALLINFO) && defined(__linux__)
56 #include <malloc.h> 56 #include <malloc.h>
57 #define WITH_MALLINFO 57 #define WITH_MALLINFO
58 #endif 58 #endif
59 59
60 #if defined(__FreeBSD__) && defined(RFPROC) 60 #if defined(__FreeBSD__) && defined(RFPROC)