re PR libstdc++/64161 (bootstrap error: condition_variable.cc:134:7: error: 'atexit' is not a member of 'std')

PR libstdc++/64161
	* src/c++11/condition_variable.cc: Include <cstdlib>.

From-SVN: r218300
This commit is contained in:
Jonathan Wakely 2014-12-03 01:34:03 +00:00 committed by Jonathan Wakely
parent 4d8820d6d9
commit 28fe2ab37c
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2014-12-03 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/64161
* src/c++11/condition_variable.cc: Include <cstdlib>.
2014-12-02 Jonathan Wakely <jwakely@redhat.com>
* config/abi/pre/gnu.ver: Add new exports.

View File

@ -23,6 +23,7 @@
// <http://www.gnu.org/licenses/>.
#include <condition_variable>
#include <cstdlib>
#if defined(_GLIBCXX_HAS_GTHREADS) && defined(_GLIBCXX_USE_C99_STDINT_TR1)