summaryrefslogtreecommitdiff
path: root/AK/Vector.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-06-14 06:43:56 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-06-14 06:43:56 +0200
commit255c7562baab951bf10e632eb0194a3f6aa36173 (patch)
tree4951fdcad443ca8db32e09341e08d9b6751f071f /AK/Vector.h
parentb7cca76ca2d991c132de384dd150d8f946e92ab5 (diff)
downloadserenity-255c7562baab951bf10e632eb0194a3f6aa36173.zip
AK: Massage it into building on my host system without breaking Serenity.
Diffstat (limited to 'AK/Vector.h')
-rw-r--r--AK/Vector.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/AK/Vector.h b/AK/Vector.h
index c1b9c5622f..12131ae958 100644
--- a/AK/Vector.h
+++ b/AK/Vector.h
@@ -4,6 +4,10 @@
#include <AK/StdLibExtras.h>
#include <AK/kmalloc.h>
+#ifndef __serenity__
+#include <new>
+#endif
+
namespace AK {
template<typename T, int inline_capacity = 0>