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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user