--- libvpx/vp8/common/generic/systemdependent.c.orig	2013-03-13 01:01:48.404990528 +0100
+++ libvpx/vp8/common/generic/systemdependent.c	2013-03-13 01:02:35.928991544 +0100
@@ -18,6 +18,10 @@
 #endif
 #include "vp8/common/onyxc_int.h"
 
+#if defined(_WIN32)
+# include <windows.h>
+#endif
+
 #if CONFIG_MULTITHREAD
 #if HAVE_UNISTD_H && !defined(__OS2__)
 #include <unistd.h>
