summaryrefslogtreecommitdiff
path: root/src/farsi.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-07-02 20:27:50 +0200
committerBram Moolenaar <Bram@vim.org>2016-07-02 20:27:50 +0200
commit75464dc434c43efac60e8bfd9bec2a8b736407e9 (patch)
tree03b1a4f18d738e9c9bd21f5663d27279427622e8 /src/farsi.c
parent951fa1819ad0e74d73e885d0ec04dd6c70f8d2f7 (diff)
downloadvim-75464dc434c43efac60e8bfd9bec2a8b736407e9.zip
patch 7.4.1983
Problem: farsi.c and arabic.c are included in a strange way. Solution: Build them like other files.
Diffstat (limited to 'src/farsi.c')
-rw-r--r--src/farsi.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/farsi.c b/src/farsi.c
index b08282922..eed7e40ec 100644
--- a/src/farsi.c
+++ b/src/farsi.c
@@ -9,10 +9,12 @@
/*
* farsi.c: functions for Farsi language
- *
- * Included by main.c, when FEAT_FKMAP is defined.
*/
+#include "vim.h"
+
+#if defined(FEAT_FKMAP) || defined(PROTO)
+
static int toF_Xor_X_(int c);
static int F_is_TyE(int c);
static int F_is_TyC_TyD(int c);
@@ -2189,3 +2191,5 @@ farsi_f9(cmdarg_T *cap UNUSED)
conv_to_pstd();
}
}
+
+#endif /* FEAT_FKMAP */