aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r--src/nvim/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index f24c0dab4d..d1c968b511 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -25,6 +25,9 @@
#include "nvim/getchar.h"
#include "nvim/hashtab.h"
#include "nvim/if_cscope.h"
+#ifdef HAVE_LOCALE_H
+# include <locale.h>
+#endif
#include "nvim/mark.h"
#include "nvim/mbyte.h"
#include "nvim/memline.h"