forked from OSchip/llvm-project
<algorithm> no longer needs to include <cstdlib>, but can get away with just <cstddef>. This was brought to my attention by Salvatore Benedetto in his port to a bare-metal coretex-m3. This exposed two test bugs where an explicit #include <cstdlib> was needed.
llvm-svn: 160786
This commit is contained in:
parent
6a03f169db
commit
a1d07d57a7
|
@ -593,7 +593,7 @@ template <class BidirectionalIterator, class Compare>
|
|||
#include <utility>
|
||||
#include <memory>
|
||||
#include <iterator>
|
||||
#include <cstdlib>
|
||||
#include <cstddef>
|
||||
|
||||
#include <__undef_min_max>
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
// Not a portable test
|
||||
|
||||
#include <codecvt>
|
||||
#include <cstdlib>
|
||||
#include <cassert>
|
||||
|
||||
int outstanding_news = 0;
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
// Not a portable test
|
||||
|
||||
#include <codecvt>
|
||||
#include <cstdlib>
|
||||
#include <cassert>
|
||||
|
||||
int outstanding_news = 0;
|
||||
|
|
Loading…
Reference in New Issue