Index: /libmpc/branches/r2d/mpcenc/mpcenc.c
===================================================================
--- /libmpc/branches/r2d/mpcenc/mpcenc.c	(revision 240)
+++ /libmpc/branches/r2d/mpcenc/mpcenc.c	(revision 241)
@@ -1617,5 +1617,5 @@
     if ( SkipTime > 0. ) {
         unsigned long  SkipSamples = m.SampleFreq * SkipTime;
-        ssize_t        read;
+        signed long read;
 
         while ( SkipSamples > 0 ) {
Index: /libmpc/branches/r2d/mpcenc/mpcenc.h
===================================================================
--- /libmpc/branches/r2d/mpcenc/mpcenc.h	(revision 240)
+++ /libmpc/branches/r2d/mpcenc/mpcenc.h	(revision 241)
@@ -39,4 +39,6 @@
 #if   defined _WIN32  ||  defined __TURBOC__  ||  defined __ZTC__  ||  defined _MSC_VER
 # include <io.h>
+# include <fcntl.h>
+# include <windows.h>
 #elif defined __unix__  ||  defined __linux__  ||  defined __APPLE__
 # include <unistd.h>
Index: /libmpc/branches/r2d/mpcenc/wave_in.c
===================================================================
--- /libmpc/branches/r2d/mpcenc/wave_in.c	(revision 240)
+++ /libmpc/branches/r2d/mpcenc/wave_in.c	(revision 241)
@@ -18,4 +18,5 @@
  */
 
+# include <string.h>
 #include "mpcenc.h"
 
