diff --git a/src/hash.hh b/src/hash.hh index 838fdffa..6586edfd 100644 --- a/src/hash.hh +++ b/src/hash.hh @@ -4,6 +4,8 @@ #include #include +#include + namespace Kakoune { diff --git a/src/main.cc b/src/main.cc index bcef9c87..0d7172be 100644 --- a/src/main.cc +++ b/src/main.cc @@ -437,7 +437,7 @@ int run_filter(StringView keystr, ArrayView files, bool quiet) try { InputHandler input_handler{ - { buffer, {{0,0}, buffer.back_coord()} }, + { buffer, Selection{{0,0}, buffer.back_coord()} }, Context::Flags::Transient };