aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libstdc++-v3/ChangeLog4
-rw-r--r--libstdc++-v3/include/bits/allocator.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index fdc3375..b6c70a4 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,7 @@
+2006-01-18 Paolo Carlini <pcarlini@suse.de>
+
+ * include/bits/allocator.h: Include <bits/cpp_type_traits.h>.
+
2006-01-18 Perry Smith <pedz@easesoftware.net>
PR libstdc++/25823
diff --git a/libstdc++-v3/include/bits/allocator.h b/libstdc++-v3/include/bits/allocator.h
index 3e8d94a..43939c1 100644
--- a/libstdc++-v3/include/bits/allocator.h
+++ b/libstdc++-v3/include/bits/allocator.h
@@ -52,6 +52,8 @@
// Define the base class to std::allocator.
#include <bits/c++allocator.h>
+#include <bits/cpp_type_traits.h> // for __is_empty
+
_GLIBCXX_BEGIN_NAMESPACE(std)
template<typename _Tp>