updated for version 7.0b
diff --git a/src/structs.h b/src/structs.h
index 1b7c826..2a9882b 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -1118,7 +1118,9 @@
 # define B_SPELL(buf)  (0)
 #endif
 
+#ifdef FEAT_QUICKFIX
 typedef struct qf_info_S qf_info_T;
+#endif
 
 /*
  * buffer: structure that holds information about one file