summaryrefslogtreecommitdiff
path: root/user/prosody/mallinfo.patch
blob: 4f9247c9bc4760d570c0fba90b097e84417ee9fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/util-src/pposix.c b/util-src/pposix.c
index e70a9d7..b9729ab 100644
--- a/util-src/pposix.c
+++ b/util-src/pposix.c
@@ -52,7 +52,7 @@
 #include <linux/falloc.h>
 #endif
 
-#if !defined(WITHOUT_MALLINFO) && defined(__linux__)
+#ifdef __GLIBC__
 #include <malloc.h>
 #define WITH_MALLINFO
 #endif