summaryrefslogtreecommitdiff
path: root/malloc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-07-07 18:02:39 +0000
committerUlrich Drepper <drepper@redhat.com>1999-07-07 18:02:39 +0000
commit2556bfe6fdb5ccb4864e0249d5fdd475e4100c71 (patch)
treeceb6911987c23a31476484b3c390ce85057c597c /malloc
parent9ae6fc542a6267377078f1c64f45bc9bd2a96da5 (diff)
downloadglibc-2556bfe6fdb5ccb4864e0249d5fdd475e4100c71.tar.gz
Update.
* sysdeps/generic/setenv.c: Describe problem. * malloc/malloc.c (request2size): Also set errno if failing.
Diffstat (limited to 'malloc')
-rw-r--r--malloc/malloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c
index 86f25d5184..31ab045a06 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -314,6 +314,7 @@
extern "C" {
#endif
+#include <errno.h>
#include <stdio.h> /* needed for malloc_stats */