Include missing header for std::free
authorJonathan Wakely <jwakely@redhat.com>
Mon, 10 Jul 2017 18:43:02 +0000 (19:43 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 10 Jul 2017 18:43:02 +0000 (19:43 +0100)
* testsuite/abi/pr42230.cc: Add header for std::free.

From-SVN: r250102

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/abi/pr42230.cc

index 25e3aed5b0ff0bc6449eb8973d693bddf733eaeb..8dc104393a73e30efda75a521f36a02fe019d4cc 100644 (file)
@@ -1,5 +1,7 @@
 2017-07-10  Jonathan Wakely  <jwakely@redhat.com>
 
+       * testsuite/abi/pr42230.cc: Add header for std::free.
+
        PR libstdc++/81381
        * include/bits/sstream.tcc (basic_stringbuf::overflow)
        (basic_stringbuf::basic_stringbuf(const __string_type&, ios::mode))
index 3b5a1f6c2421db82714e69f947595bfd83b8db04..48156e4ba1817c0eb63007e1f42c482ba63fbc31 100644 (file)
@@ -3,6 +3,7 @@
 #include <cxxabi.h>
 #include <cassert>
 #include <cstddef>
+#include <cstdlib>
 
 int main()
 {