--- ui.c.orig	2015-01-27 15:45:16.000000000 +0000
+++ ui.c	2015-01-27 18:07:43.000000000 +0000
@@ -73,8 +73,10 @@
 static char_u *ta_str = NULL;
 static int ta_off;	/* offset for next char to use when ta_str != NULL */
 static int ta_len;	/* length of ta_str when it's not NULL*/
+#ifdef FEAT_CLIPBOARD
 static int clipboard_needs_update; /* clipboard needs to be updated */
 static int global_change_count = 0; /* if set, inside a start_global_changes */
+#endif
 
     void
 ui_inchar_undo(s, len)
