updated for version 7.0222
diff --git a/src/globals.h b/src/globals.h
index d311095..adde271 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -1271,7 +1271,9 @@
 #ifdef FEAT_SYN_HL
 /* Display tick, incremented for each call to update_screen() */
 EXTERN disptick_T	display_tick INIT(= 0);
+#endif
 
+#ifdef FEAT_SPELL
 /* Line in which spell checking wasn't highlighted because it touched the
  * cursor position in Insert mode. */
 EXTERN linenr_T		spell_redraw_lnum INIT(= 0);