--- a/vs1053.c
+++ b/vs1053.c
@@ -358,7 +358,7 @@
 		
 }
 
-
+#ifdef USE_VS1053
 void VS1053StreamOggClose(void)
 {
 	unsigned short num_words,d;
@@ -393,7 +393,7 @@
 	}
 
 }
-
+#endif
 
 void VS1063StreamOggClose(void)
 {