aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2004-12-04 16:25:18 -0800
committerRichard Henderson <rth@gcc.gnu.org>2004-12-04 16:25:18 -0800
commit4ec3604f500aef8a2073e5286f075d3dd9c1dbb2 (patch)
treecc4f59e03c1b1fdeda6b6683694a9cd7e9d51705
parentf7b279f9d0d7274ff8fccb072b4e6cf91d5b74c5 (diff)
downloadgcc-4ec3604f500aef8a2073e5286f075d3dd9c1dbb2.zip
gcc-4ec3604f500aef8a2073e5286f075d3dd9c1dbb2.tar.gz
gcc-4ec3604f500aef8a2073e5286f075d3dd9c1dbb2.tar.bz2
* include/ext/malloc_allocator.h: Include cstdlib.
From-SVN: r91737
-rw-r--r--libstdc++-v3/ChangeLog4
-rw-r--r--libstdc++-v3/include/ext/malloc_allocator.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 73568bd..2ca158a 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,7 @@
+2004-12-04 Richard Henderson <rth@redhat.com>
+
+ * include/ext/malloc_allocator.h: Include cstdlib.
+
2004-12-04 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: New.
diff --git a/libstdc++-v3/include/ext/malloc_allocator.h b/libstdc++-v3/include/ext/malloc_allocator.h
index 4d917d5..55878b2 100644
--- a/libstdc++-v3/include/ext/malloc_allocator.h
+++ b/libstdc++-v3/include/ext/malloc_allocator.h
@@ -34,6 +34,7 @@
#ifndef _MALLOC_ALLOCATOR_H
#define _MALLOC_ALLOCATOR_H 1
+#include <cstdlib>
#include <new>
#include <bits/functexcept.h>