re PR libstdc++/64161 (bootstrap error: condition_variable.cc:134:7: error: 'atexit...
authorJonathan Wakely <jwakely@redhat.com>
Wed, 3 Dec 2014 01:34:03 +0000 (01:34 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 3 Dec 2014 01:34:03 +0000 (01:34 +0000)
PR libstdc++/64161
* src/c++11/condition_variable.cc: Include <cstdlib>.

From-SVN: r218300

libstdc++-v3/ChangeLog
libstdc++-v3/src/c++11/condition_variable.cc

index ea27ce79adc2d2344481817190adf03d6ffe8158..1e2cceba37a0f57a29e5759606376d887b3a3107 100644 (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.
index c2768eb86e4c72ab33e435808432a866875327e2..d3c7fcd3750da06c13c59dbee9f2c7b36ab52f2a 100644 (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)