diff options
| author | Maxime Coste <mawww@kakoune.org> | 2021-01-03 10:58:09 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2021-01-03 10:58:09 +1100 |
| commit | a0c23ccb720cb10469c4dfd77342524d6f607a9c (patch) | |
| tree | c9276c4f31d53d66efd0d1e6cd58d51884135add | |
| parent | 291f8a6a859e260ca491ad0dadfc835d081732c9 (diff) | |
Add missing limits includes
Fixes #4003
| -rw-r--r-- | src/file.cc | 1 | ||||
| -rw-r--r-- | src/highlighters.cc | 1 | ||||
| -rw-r--r-- | src/input_handler.cc | 5 | ||||
| -rw-r--r-- | src/regex_impl.cc | 1 | ||||
| -rw-r--r-- | 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 <limits> #include <cerrno> #include <cstdlib> #include <cstdio> 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 <cstdio> +#include <limits> 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 <utility> - #include "input_handler.hh" #include "buffer_manager.hh" @@ -19,6 +17,9 @@ #include "window.hh" #include "word_db.hh" +#include <utility> +#include <limits> + 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 <cstdio> #include <cstring> +#include <limits> 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 <limits> + namespace Kakoune { |
