From 68bc6bce2923f049f84d919aea24600f18139a46 Mon Sep 17 00:00:00 2001 From: Felipe Oliveira Carvalho Date: Sat, 22 Mar 2014 12:25:01 -0300 Subject: Do not include farsi.c in main.c - Change CMakeLists.txt to compile farsi.c normally - Add const to global variables in farsi.h and define them in farsi.c (no need to include farsi.h with DO_INIT defined in globals.h) - Include farsi.h where necessary - Include all necessary headers in farsi.c - Move farsi function declarations from main.h to farsi.h --- src/edit.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/edit.h') diff --git a/src/edit.h b/src/edit.h index 9d45e54dc7..e52bfa61d6 100644 --- a/src/edit.h +++ b/src/edit.h @@ -1,6 +1,8 @@ #ifndef NEOVIM_EDIT_H #define NEOVIM_EDIT_H +#include "vim.h" + /* * Array indexes used for cptext argument of ins_compl_add(). */ -- cgit