[libc++] Move the definition of aligned allocation helpers outside of <new>
They are not needed in <new> -- in fact they are only needed in .cpp files.
Getting those out of the way makes the headers smaller and also makes it
easier to use the library on platforms where aligned allocation is not
available.
Differential Revision: https://reviews.llvm.org/D139231
NOKEYCHECK=True
GitOrigin-RevId: 36080434a8858c33f2af2382be748caed131385f
diff --git a/src/new.cpp b/src/new.cpp
index 48d6f99..f2ca698 100644
--- a/src/new.cpp
+++ b/src/new.cpp
@@ -6,6 +6,7 @@
//
//===----------------------------------------------------------------------===//
+#include <__memory/aligned_alloc.h>
#include <new>
#include <stdlib.h>