diff mpcommon.c @ 32414:a14dd8b8d314

Add windows.h include to fix compilation in some cases. Patch by Gianluigi Tiesi [sherpya netfarm it]
author reimar
date Sun, 17 Oct 2010 15:17:46 +0000
parents 4fb3f810de30
children d1f6c6cf8905
line wrap: on
line diff
--- a/mpcommon.c	Sun Oct 17 09:06:18 2010 +0000
+++ b/mpcommon.c	Sun Oct 17 15:17:46 2010 +0000
@@ -16,6 +16,9 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
+#if defined(__MINGW32__) || defined(__CYGWIN__)
+#include <windows.h>
+#endif
 #include <stdlib.h>
 #include "stream/stream.h"
 #include "libmpdemux/demuxer.h"