fix: Include auto/config.h before HAVE_* preprocessor checks

Closes #13533
This commit is contained in:
James McCoy 2020-12-15 07:35:06 -05:00
parent 82100a6bdb
commit 6c2eb903a9
No known key found for this signature in database
GPG Key ID: DFE691AE331BA3DB
4 changed files with 9 additions and 0 deletions

View File

@ -7,6 +7,8 @@
#include <math.h>
#include "auto/config.h"
#ifdef HAVE_LOCALE_H
# include <locale.h>
#endif

View File

@ -8,9 +8,12 @@
# undef Boolean
#endif
#include "auto/config.h"
#ifdef HAVE_LOCALE_H
# include <locale.h>
#endif
#include "nvim/os/lang.h"
#include "nvim/os/os.h"

View File

@ -5,6 +5,8 @@
#include <uv.h>
#include "auto/config.h"
#include "nvim/ascii.h"
#include "nvim/os/os.h"
#include "nvim/garray.h"

View File

@ -82,6 +82,8 @@
#include <string.h>
#include <fcntl.h>
#include "auto/config.h"
#include "nvim/buffer.h"
#include "nvim/ascii.h"
#include "nvim/change.h"