1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 12:26:40 +02:00

core: include header malloc.h only if function malloc_trim is available

This commit is contained in:
Sébastien Helleu
2024-03-06 22:52:43 +01:00
parent 8c1df496ae
commit ab2e29fb0f
+2
View File
@@ -40,7 +40,9 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#ifdef HAVE_MALLOC_TRIM
#include <malloc.h>
#endif
#include "weechat.h"
#include "wee-command.h"