Ticket #3780: code clean up before 4.8.20 release.

Direct include <limits.h> for MB_LEN_MAX.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2017-04-16 07:56:22 +03:00
parent aff3834dc3
commit 7772f00aab
5 changed files with 6 additions and 0 deletions

View File

@ -37,6 +37,7 @@
#include <config.h>
#include <stdlib.h>
#include <limits.h> /* MB_LEN_MAX */
#include "lib/global.h"
#include "lib/strutil.h"

View File

@ -6,6 +6,8 @@
#ifndef MC__WIDGET_INPUT_H
#define MC__WIDGET_INPUT_H
#include <limits.h> /* MB_LEN_MAX */
#include "lib/keybind.h" /* global_keymap_t */
/*** typedefs(not structures) and defined constants **********************************************/

View File

@ -33,6 +33,7 @@
#include <config.h>
#include <ctype.h>
#include <limits.h> /* MB_LEN_MAX */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View File

@ -6,6 +6,7 @@
#define MC__PANEL_H
#include <inttypes.h> /* uintmax_t */
#include <limits.h> /* MB_LEN_MAX */
#include "lib/global.h" /* gboolean */
#include "lib/fs.h" /* MC_MAXPATHLEN */

View File

@ -50,6 +50,7 @@
#include <config.h>
#include <errno.h>
#include <limits.h> /* MB_LEN_MAX */
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>