          g_mutex_unlock(vf_mutex);
          return FALSE;
          break;
-@@ -193,8 +435,10 @@
+@@ -193,8 +195,10 @@
          break;
      }
  

 
 static OggVorbis_File vf;
 
+#ifdef HAVE_KATE
+
+typedef struct {
+    char *text;
+    double t;
+} lyrics_event;
+
+typedef struct {
+    kate_state k;
+    ogg_stream_state kst;
+    ogg_sync_state ksy;
+    enum { kis_none, kis_sync, kis_all } kate_init_state;
+    lyrics_event *lyrics_events;
+    size_t num_lyrics_events;
+} aud_kate_state;
+
+#endif
+
+typedef struct {
+    VFSFile *fd;
+    gboolean probe;

     .description = "Ogg Vorbis Audio Plugin",  /* description */
     .init = vorbis_init,                /* init */
     .about = vorbis_aboutbox,            /* aboutbox */
@@ -112,18 +110,27 @@
     .update_song_tuple = vorbis_update_song_tuple,
 };
 
