Index: libmpc/trunk/common/tags.c
===================================================================
--- libmpc/trunk/common/tags.c	(revision 384)
+++ libmpc/trunk/common/tags.c	(revision 385)
@@ -25,4 +25,8 @@
 #include <stdio.h>
 #include <mpc/mpc_types.h>
+
+#ifdef _WIN32
+# include <windows.h>
+#endif
 
 // Path separator
@@ -827,5 +831,5 @@
  * Writes collect tag items and write it to a file.
  * Items are destroyed, so tags can only be written once.
- * @param fp 
+ * @param fp
  * @param Version
  * @param flags options for writing header / footer :
@@ -833,5 +837,5 @@
  *              2 : do not write footer
  *              4 : do not write "APETAGEX"
- * @return 
+ * @return
  */
 int
@@ -846,5 +850,5 @@
     if ( TagCount == 0 )
         return 0;
-	
+
 	if (flags & TAG_NO_PREAMBLE) {
 		estimatedbytes -= 8;
