aboutsummaryrefslogtreecommitdiff
path: root/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'compat.h')
-rw-r--r--compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/compat.h b/compat.h
index 4efad6ee..b213336f 100644
--- a/compat.h
+++ b/compat.h
@@ -27,6 +27,10 @@
#include <termios.h>
#include <wchar.h>
+#ifdef HAVE_MALLOC_TRIM
+#include <malloc.h>
+#endif
+
#ifdef HAVE_UTF8PROC
#include <utf8proc.h>
#endif