aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/thread/pthread4.cc
diff options
context:
space:
mode:
authorPaolo Carlini <pcarlini@suse.de>2007-03-02 16:21:30 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2007-03-02 16:21:30 +0000
commit1769232d2607e9219b1932090c1036a6ed334152 (patch)
treee52eaced466cf7de7cf45af492ba4bcb23c5d65c /libstdc++-v3/testsuite/thread/pthread4.cc
parent7393f7f8d04844ab976238ceffcc8f8c00214c92 (diff)
downloadgcc-1769232d2607e9219b1932090c1036a6ed334152.zip
gcc-1769232d2607e9219b1932090c1036a6ed334152.tar.gz
gcc-1769232d2607e9219b1932090c1036a6ed334152.tar.bz2
re PR libstdc++/28080 (header dependencies)
2007-03-02 Paolo Carlini <pcarlini@suse.de> * testsuite/thread/pthread1.cc: Include <pthread.h>. * testsuite/thread/pthread2.cc: Likewise. * testsuite/thread/pthread3.cc: Likewise. * testsuite/thread/pthread4.cc: Likewise. * testsuite/thread/pthread5.cc: Likewise. * testsuite/thread/pthread6.cc: Likewise. * testsuite/thread/pthread7-rope.cc: Likewise. 2007-03-02 Paolo Carlini <pcarlini@suse.de> PR libstdc++/28080 (partial) * include/tr1/random (class random_device): Rework to use simple <cstdio> input, do not include <fstream>. * include/tr1/random.tcc (all inserters and extractors): Refer to ios_base as base class of basic_istream or basic_ostream. From-SVN: r122478
Diffstat (limited to 'libstdc++-v3/testsuite/thread/pthread4.cc')
-rw-r--r--libstdc++-v3/testsuite/thread/pthread4.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/libstdc++-v3/testsuite/thread/pthread4.cc b/libstdc++-v3/testsuite/thread/pthread4.cc
index a4b520d..f910f9c 100644
--- a/libstdc++-v3/testsuite/thread/pthread4.cc
+++ b/libstdc++-v3/testsuite/thread/pthread4.cc
@@ -2,7 +2,8 @@
// Adapted from http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
// which was adapted from pthread1.cc by Mike Lu <MLu@dynamicsoft.com>
//
-// Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007
+// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@@ -26,9 +27,7 @@
#include <string>
#include <list>
-
-// Do not include <pthread.h> explicitly; if threads are properly
-// configured for the port, then it is picked up free from STL headers.
+#include <pthread.h>
using namespace std;