From 7772f00aabc4be7c50fe6ce117f0311f7302100c Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Sun, 16 Apr 2017 07:56:22 +0300 Subject: [PATCH] Ticket #3780: code clean up before 4.8.20 release. Direct include for MB_LEN_MAX. Signed-off-by: Andrew Borodin --- lib/timefmt.c | 1 + lib/widget/input.h | 2 ++ lib/widget/input_complete.c | 1 + src/filemanager/panel.h | 1 + src/help.c | 1 + 5 files changed, 6 insertions(+) diff --git a/lib/timefmt.c b/lib/timefmt.c index 5ed53145f..6503dc2d5 100644 --- a/lib/timefmt.c +++ b/lib/timefmt.c @@ -37,6 +37,7 @@ #include #include +#include /* MB_LEN_MAX */ #include "lib/global.h" #include "lib/strutil.h" diff --git a/lib/widget/input.h b/lib/widget/input.h index bba310f9b..1e46c8046 100644 --- a/lib/widget/input.h +++ b/lib/widget/input.h @@ -6,6 +6,8 @@ #ifndef MC__WIDGET_INPUT_H #define MC__WIDGET_INPUT_H +#include /* MB_LEN_MAX */ + #include "lib/keybind.h" /* global_keymap_t */ /*** typedefs(not structures) and defined constants **********************************************/ diff --git a/lib/widget/input_complete.c b/lib/widget/input_complete.c index 79683bd19..fc6406792 100644 --- a/lib/widget/input_complete.c +++ b/lib/widget/input_complete.c @@ -33,6 +33,7 @@ #include #include +#include /* MB_LEN_MAX */ #include #include #include diff --git a/src/filemanager/panel.h b/src/filemanager/panel.h index 198d73de5..7f3223be1 100644 --- a/src/filemanager/panel.h +++ b/src/filemanager/panel.h @@ -6,6 +6,7 @@ #define MC__PANEL_H #include /* uintmax_t */ +#include /* MB_LEN_MAX */ #include "lib/global.h" /* gboolean */ #include "lib/fs.h" /* MC_MAXPATHLEN */ diff --git a/src/help.c b/src/help.c index bcce2cb72..cada7d665 100644 --- a/src/help.c +++ b/src/help.c @@ -50,6 +50,7 @@ #include #include +#include /* MB_LEN_MAX */ #include #include #include