patch 7.4.1983
Problem: farsi.c and arabic.c are included in a strange way.
Solution: Build them like other files.
diff --git a/src/farsi.c b/src/farsi.c
index b082829..eed7e40 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 @@
conv_to_pstd();
}
}
+
+#endif /* FEAT_FKMAP */