commit | d272dea99ba0298156ccf1dbfc2a645623addf02 | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@google.com> | Sat Jul 29 11:44:22 2017 -0400 |
committer | David Benjamin <davidben@google.com> | Tue Aug 01 15:18:54 2017 +0000 |
tree | 818dd33d448a9c7d74beaa3a791a80bf04e54861 | |
parent | 9fb6feaa8403c5418abf32eaeb7ecd4506a0036a [diff] |
Explicitly include <new> for placement new. placement new requires operator new (size_t, void*) to be defined, which requires pulling in the <new> header. Change-Id: Ibaa8f3309b03129958f201d32de8afcfafed70f6 Reviewed-on: https://boringssl-review.googlesource.com/18664 Reviewed-by: David Benjamin <davidben@google.com>
diff --git a/ssl/internal.h b/ssl/internal.h index fdd3cb5..3ac6716 100644 --- a/ssl/internal.h +++ b/ssl/internal.h
@@ -146,6 +146,7 @@ #include <stdlib.h> +#include <new> #include <type_traits> #include <utility>