summaryrefslogtreecommitdiff
path: root/src/progs
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs')
-rw-r--r--src/progs/manaplus/actions/commands.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/progs/manaplus/actions/commands.cpp b/src/progs/manaplus/actions/commands.cpp
index 4d82c0b33..ba4ae0d61 100644
--- a/src/progs/manaplus/actions/commands.cpp
+++ b/src/progs/manaplus/actions/commands.cpp
@@ -85,7 +85,9 @@
#include "utils/parameters.h"
#include "utils/process.h"
+#ifdef HAVE_MALLOC_TRIM
#include <malloc.h>
+#endif
#include "debug.h"