changeset 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 d87b0b03f56e
children d1f6c6cf8905
files mpcommon.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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"