diff options
author | Howard Hinnant <hhinnant@apple.com> | 2012-07-26 21:09:09 +0400 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2012-07-26 21:09:09 +0400 |
commit | a1d07d57a781a2d1a0c0659cf728f80ffe6fe2e0 (patch) | |
tree | 7ba31656befdb166c69f20101774d5cf4f3af60a /libcxx/include/algorithm | |
parent | 6a03f169db971c334793a023821df184eddddc57 (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/algorithm | 2 |
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> |