summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-10-17 15:17:46 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:18:37 +0200
commit14e4bb7d7069f88b11cfc630d1cefa0d0100d019 (patch)
treec9f9043a482147ba03ca515895069513767d6065
parent650e8147c101769ffe921d1f59b997e892e47a6d (diff)
downloadmpv-14e4bb7d7069f88b11cfc630d1cefa0d0100d019.tar.bz2
mpv-14e4bb7d7069f88b11cfc630d1cefa0d0100d019.tar.xz
command.c: Add windows.h include to fix compilation in some cases
Patch by Gianluigi Tiesi [sherpya netfarm it] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32500 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--mpcommon.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mpcommon.c b/mpcommon.c
index 8097fe002e..35f9ea015a 100644
--- a/mpcommon.c
+++ b/mpcommon.c
@@ -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 <stdbool.h>