From ab2e29fb0f73b1d607d2765ebebd2a34bfcfbc65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Wed, 6 Mar 2024 22:52:43 +0100 Subject: core: include header malloc.h only if function malloc_trim is available --- src/core/wee-command.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/wee-command.c') diff --git a/src/core/wee-command.c b/src/core/wee-command.c index 4d468078b..d94ef9a46 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -40,7 +40,9 @@ #include #include #include +#ifdef HAVE_MALLOC_TRIM #include +#endif #include "weechat.h" #include "wee-command.h" -- cgit v1.2.3