diff options
author | James McCoy <jamessan@jamessan.com> | 2020-12-15 07:35:06 -0500 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2020-12-15 07:43:44 -0500 |
commit | 6c2eb903a9eb74d2b45fc931a555f5fed8176e90 (patch) | |
tree | d70267b3592620a9a6485bc82f427804fd2077d0 | |
parent | 82100a6bdb42cec30060d6c991ab78fd2331fa31 (diff) | |
download | rneovim-6c2eb903a9eb74d2b45fc931a555f5fed8176e90.tar.gz rneovim-6c2eb903a9eb74d2b45fc931a555f5fed8176e90.tar.bz2 rneovim-6c2eb903a9eb74d2b45fc931a555f5fed8176e90.zip |
fix: Include auto/config.h before HAVE_* preprocessor checks
Closes #13533
-rw-r--r-- | src/nvim/eval.c | 2 | ||||
-rw-r--r-- | src/nvim/os/lang.c | 3 | ||||
-rw-r--r-- | src/nvim/os/users.c | 2 | ||||
-rw-r--r-- | src/nvim/undo.c | 2 |
4 files changed, 9 insertions, 0 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c index fa037b59d7..a7a860ba72 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -7,6 +7,8 @@ #include <math.h> +#include "auto/config.h" + #ifdef HAVE_LOCALE_H # include <locale.h> #endif diff --git a/src/nvim/os/lang.c b/src/nvim/os/lang.c index 603191a0ff..b63faacaae 100644 --- a/src/nvim/os/lang.c +++ b/src/nvim/os/lang.c @@ -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" diff --git a/src/nvim/os/users.c b/src/nvim/os/users.c index 9374693550..16e17a9c60 100644 --- a/src/nvim/os/users.c +++ b/src/nvim/os/users.c @@ -5,6 +5,8 @@ #include <uv.h> +#include "auto/config.h" + #include "nvim/ascii.h" #include "nvim/os/os.h" #include "nvim/garray.h" diff --git a/src/nvim/undo.c b/src/nvim/undo.c index 636d00bbbf..da464c56dc 100644 --- a/src/nvim/undo.c +++ b/src/nvim/undo.c @@ -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" |