commit | 061a7f5596c4125fc4bead14ebb37cf51d2ae627 | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@google.com> | Tue Dec 15 13:47:05 2020 -0500 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Tue Dec 15 19:24:32 2020 +0000 |
tree | 303c72f66022bf3cd67b1dbd581e7813194ab819 | |
parent | 60926d3533a246eec8ea5e15d39852842225c0b2 [diff] [blame] |
Use stdlib.h instead of cstdlib in span.h. The headers aren't quite interchangeable. stdlib.h defines ::abort() while cstdlib defines std::abort(). The Google style guide doesn't give much guidance but says to match the existing style, so I've switched it to stdlib.h. See https://github.com/apple/swift-nio-ssl/issues/259 Change-Id: I19feb5213e123a88b381d6d8f8fe9d8e87c81e67 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/44625 Commit-Queue: David Benjamin <davidben@google.com> Commit-Queue: Adam Langley <agl@google.com> Reviewed-by: Adam Langley <agl@google.com>
diff --git a/include/openssl/span.h b/include/openssl/span.h index 1d732eb..7410bf9 100644 --- a/include/openssl/span.h +++ b/include/openssl/span.h
@@ -21,8 +21,9 @@ extern "C++" { +#include <stdlib.h> + #include <algorithm> -#include <cstdlib> #include <type_traits> BSSL_NAMESPACE_BEGIN