Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2012-07-26 21:09:09 +0400
committerHoward Hinnant <hhinnant@apple.com>2012-07-26 21:09:09 +0400
commita1d07d57a781a2d1a0c0659cf728f80ffe6fe2e0 (patch)
tree7ba31656befdb166c69f20101774d5cf4f3af60a /libcxx/include/algorithm
parent6a03f169db971c334793a023821df184eddddc57 (diff)
<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
Diffstat (limited to 'libcxx/include/algorithm')
-rw-r--r--libcxx/include/algorithm2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/algorithm b/libcxx/include/algorithm
index d924a7de3f2d..67e1101704d9 100644
--- a/libcxx/include/algorithm
+++ b/libcxx/include/algorithm
@@ -593,7 +593,7 @@ template <class BidirectionalIterator, class Compare>
#include <utility>
#include <memory>
#include <iterator>
-#include <cstdlib>
+#include <cstddef>
#include <__undef_min_max>