projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
As spec. by D.
[pazpar2-moved-to-github.git]
/
src
/
http_command.c
diff --git
a/src/http_command.c
b/src/http_command.c
index
5b84951
..
eb799f0
100644
(file)
--- a/
src/http_command.c
+++ b/
src/http_command.c
@@
-41,9
+41,11
@@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "settings.h"
#include "client.h"
-#ifdef __LINUX__
+#ifdef HAVE_MALLINFO
#include <malloc.h>
+
void print_meminfo(WRBUF wrbuf) {
+
struct mallinfo minfo;
minfo = mallinfo();
wrbuf_printf(wrbuf, " <memory>\n"