diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-06-14 06:43:56 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-06-14 06:43:56 +0200 |
commit | 255c7562baab951bf10e632eb0194a3f6aa36173 (patch) | |
tree | 4951fdcad443ca8db32e09341e08d9b6751f071f /AK/Vector.h | |
parent | b7cca76ca2d991c132de384dd150d8f946e92ab5 (diff) | |
download | serenity-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.h | 4 |
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> |