2013-07-31 Paolo Carlini <paolo.carlini@oracle.com>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Jul 2013 12:36:37 +0000 (12:36 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Jul 2013 12:36:37 +0000 (12:36 +0000)
* src/c++11/functexcept.cc: Do not include the whole <regex>.
* src/c++11/regex.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201369 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/src/c++11/functexcept.cc
libstdc++-v3/src/c++11/regex.cc

index 71471a2..10daa9f 100644 (file)
@@ -1,3 +1,8 @@
+2013-07-31  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * src/c++11/functexcept.cc: Do not include the whole <regex>.
+       * src/c++11/regex.cc: Likewise.
+
 2013-07-31  Tim Shen  <timshen91@gmail.com>
 
        Revert last commit.
index b74be7d..b0c1804 100644 (file)
@@ -30,7 +30,7 @@
 #include <system_error>
 #include <future>
 #include <functional>
-#include <regex>
+#include <bits/regex_error.h>
 
 #ifdef _GLIBCXX_USE_NLS
 # include <libintl.h>
index b18afe2..bf86300 100644 (file)
@@ -22,7 +22,8 @@
 // see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 // <http://www.gnu.org/licenses/>.
 
-#include <regex>
+#include <stdexcept>
+#include <bits/regex_error.h>
 
 namespace std _GLIBCXX_VISIBILITY(default)
 {