From 1a05fabb20acd5a750ade8b6280cef23711850a9 Mon Sep 17 00:00:00 2001
From: paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Wed, 18 Jan 2006 14:30:16 +0000
Subject: [PATCH] 2006-01-18  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/allocator.h: Include <bits/cpp_type_traits.h>.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109886 138bc75d-0d04-0410-961f-82ee72b054a4
---
 libstdc++-v3/ChangeLog                | 4 ++++
 libstdc++-v3/include/bits/allocator.h | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index fdc3375003c5..b6c70a489546 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 3e8d94a26e1c..43939c14fa76 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>
-- 
GitLab