move locale.h include out of vim.h

This commit is contained in:
Brandon Coleman
2014-06-17 13:43:22 -05:00
committed by Nicolas Hillegeer
parent 82b71a3056
commit b18ca14ef8
6 changed files with 17 additions and 6 deletions

View File

@@ -17,6 +17,9 @@
#include "nvim/vim.h" #include "nvim/vim.h"
#include "nvim/ascii.h" #include "nvim/ascii.h"
#ifdef HAVE_LOCALE_H
# include <locale.h>
#endif
#include "nvim/eval.h" #include "nvim/eval.h"
#include "nvim/buffer.h" #include "nvim/buffer.h"
#include "nvim/charset.h" #include "nvim/charset.h"

View File

@@ -15,6 +15,9 @@
#include "nvim/vim.h" #include "nvim/vim.h"
#include "nvim/ascii.h" #include "nvim/ascii.h"
#ifdef HAVE_LOCALE_H
# include <locale.h>
#endif
#include "nvim/version_defs.h" #include "nvim/version_defs.h"
#include "nvim/ex_cmds2.h" #include "nvim/ex_cmds2.h"
#include "nvim/buffer.h" #include "nvim/buffer.h"

View File

@@ -14,6 +14,9 @@
#include "nvim/vim.h" #include "nvim/vim.h"
#include "nvim/ascii.h" #include "nvim/ascii.h"
#ifdef HAVE_LOCALE_H
# include <locale.h>
#endif
#include "nvim/version_defs.h" #include "nvim/version_defs.h"
#include "nvim/hardcopy.h" #include "nvim/hardcopy.h"
#include "nvim/buffer.h" #include "nvim/buffer.h"

View File

@@ -25,6 +25,9 @@
#include "nvim/getchar.h" #include "nvim/getchar.h"
#include "nvim/hashtab.h" #include "nvim/hashtab.h"
#include "nvim/if_cscope.h" #include "nvim/if_cscope.h"
#ifdef HAVE_LOCALE_H
# include <locale.h>
#endif
#include "nvim/mark.h" #include "nvim/mark.h"
#include "nvim/mbyte.h" #include "nvim/mbyte.h"
#include "nvim/memline.h" #include "nvim/memline.h"

View File

@@ -81,6 +81,9 @@
#include "nvim/vim.h" #include "nvim/vim.h"
#include "nvim/ascii.h" #include "nvim/ascii.h"
#ifdef HAVE_LOCALE_H
# include <locale.h>
#endif
#include "nvim/mbyte.h" #include "nvim/mbyte.h"
#include "nvim/charset.h" #include "nvim/charset.h"
#include "nvim/cursor.h" #include "nvim/cursor.h"

View File

@@ -44,10 +44,6 @@ Error: configure did not run properly.Check auto/config.log.
#include "nvim/os_unix_defs.h" /* bring lots of system header files */ #include "nvim/os_unix_defs.h" /* bring lots of system header files */
# ifdef HAVE_LOCALE_H
# include <locale.h>
# endif
/* /*
* Maximum length of a path (for non-unix systems) Make it a bit long, to stay * Maximum length of a path (for non-unix systems) Make it a bit long, to stay
* on the safe side. But not too long to put on the stack. * on the safe side. But not too long to put on the stack.