1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 08:43:13 +02:00

core: check if malloc.h is present, independently of function malloc_trim

This commit is contained in:
Sébastien Helleu
2024-03-06 23:09:00 +01:00
parent 70828a7dd1
commit cb6ecb6818
3 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -40,7 +40,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#ifdef HAVE_MALLOC_TRIM
#ifdef HAVE_MALLOC_H
#include <malloc.h>
#endif