summaryrefslogtreecommitdiff
path: root/malloc
diff options
context:
space:
mode:
Diffstat (limited to 'malloc')
-rw-r--r--malloc/malloc.h2
-rw-r--r--malloc/mcheck.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/malloc/malloc.h b/malloc/malloc.h
index eeb33a2949..c453d728e6 100644
--- a/malloc/malloc.h
+++ b/malloc/malloc.h
@@ -20,6 +20,8 @@
#ifndef _MALLOC_H
#define _MALLOC_H 1
+#include <features.h>
+
/*
`ptmalloc', a malloc implementation for multiple threads without
lock contention, by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
diff --git a/malloc/mcheck.c b/malloc/mcheck.c
index 53575a7677..85258e9dd0 100644
--- a/malloc/mcheck.c
+++ b/malloc/mcheck.c
@@ -25,6 +25,7 @@
# include <malloc.h>
# include <mcheck.h>
# include <stdio.h>
+# include <libintl.h>
#endif
/* Old hook values. */