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>