* include/bits/functional_hash.h: Do not include ext/numeric_traits.h.
* include/tr1/functional_hash.h: Likewise.
* include/std/functional: Include ext/type_traits.h.
* include/tr1/functional: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130314
138bc75d-0d04-0410-961f-
82ee72b054a4
2007-11-20 Paolo Carlini <pcarlini@suse.de>
+ * include/bits/functional_hash.h: Do not include ext/numeric_traits.h.
+ * include/tr1/functional_hash.h: Likewise.
+ * include/std/functional: Include ext/type_traits.h.
+ * include/tr1/functional: Likewise.
+
+2007-11-20 Paolo Carlini <pcarlini@suse.de>
+
* include/tr1_impl/functional_hash.h
(hash<long double>::operator()(long double)): Only declare.
* src/hash.cc: Define here.
# error C++0x header cannot be included from TR1 header
#endif
-#include <ext/numeric_traits.h>
-
#if defined(_GLIBCXX_INCLUDE_AS_CXX0X)
# include <tr1_impl/functional_hash.h>
#else
# include <type_traits>
# include <bits/stringfwd.h>
# include <bits/functional_hash.h>
+# include <ext/type_traits.h>
# if defined(_GLIBCXX_INCLUDE_AS_CXX0X)
# include <tr1_impl/functional>
# else
#include <tr1/type_traits>
#include <bits/stringfwd.h>
#include <tr1/functional_hash.h>
+#include <ext/type_traits.h>
#if defined(_GLIBCXX_INCLUDE_AS_TR1)
# include <tr1_impl/functional>
# error TR1 header cannot be included from C++0x header
#endif
-#include <ext/numeric_traits.h>
-
#if defined(_GLIBCXX_INCLUDE_AS_TR1)
# include <tr1_impl/functional_hash.h>
#else