Web lists-archives.com

[MPlayer-dev-eng] [patch] recover from r37373




r37373 broke the mplayer build for windows. There are a couple of reports on the user list. This is my attempt to fix it. ms_hdr.h implies that it expects windows.h to be included in front of it.
Index: libmpcodecs/ad_spdif.c
===================================================================
--- libmpcodecs/ad_spdif.c	(revision 37373)
+++ libmpcodecs/ad_spdif.c	(working copy)
@@ -20,6 +20,9 @@
 
 #include "config.h"
 #include "mp_msg.h"
+#ifdef __MINGW32__
+#include <windows.h>
+#endif
 #include "ad_internal.h"
 #include "av_helpers.h"
 #include "libavformat/avformat.h"
_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng@xxxxxxxxxxxx
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng