From a0c23ccb720cb10469c4dfd77342524d6f607a9c Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sun, 3 Jan 2021 10:58:09 +1100 Subject: [PATCH] Add missing limits includes Fixes #4003 --- src/file.cc | 1 + src/highlighters.cc | 1 + src/input_handler.cc | 5 +++-- src/regex_impl.cc | 1 + src/selection.hh | 2 ++ 5 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/file.cc b/src/file.cc index ce6f8405..7ad6f48d 100644 --- a/src/file.cc +++ b/src/file.cc @@ -10,6 +10,7 @@ #include "string.hh" #include "unicode.hh" +#include #include #include #include diff --git a/src/highlighters.cc b/src/highlighters.cc index 309ade94..47278cd0 100644 --- a/src/highlighters.cc +++ b/src/highlighters.cc @@ -20,6 +20,7 @@ #include "window.hh" #include +#include namespace Kakoune { diff --git a/src/input_handler.cc b/src/input_handler.cc index b75efd94..a287b2db 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -1,5 +1,3 @@ -#include - #include "input_handler.hh" #include "buffer_manager.hh" @@ -19,6 +17,9 @@ #include "window.hh" #include "word_db.hh" +#include +#include + namespace Kakoune { diff --git a/src/regex_impl.cc b/src/regex_impl.cc index a4457bcc..c5d755ac 100644 --- a/src/regex_impl.cc +++ b/src/regex_impl.cc @@ -12,6 +12,7 @@ #include #include +#include namespace Kakoune { diff --git a/src/selection.hh b/src/selection.hh index 28eca5f2..c880aaf7 100644 --- a/src/selection.hh +++ b/src/selection.hh @@ -3,6 +3,8 @@ #include "buffer.hh" +#include + namespace Kakoune {