contrib: vpx: missing header

This commit is contained in:
Rafaël Carré 2013-03-13 01:02:41 +01:00
parent 96e5bb8980
commit e3d6ee99c6
2 changed files with 14 additions and 0 deletions

View File

@ -12,6 +12,7 @@ libvpx: libvpx-$(VPX_VERSION).tar.bz2 .sum-vpx
$(UNPACK)
$(APPLY) $(SRC)/vpx/libvpx-no-cross.patch
$(APPLY) $(SRC)/vpx/libvpx-no-abi.patch
$(APPLY) $(SRC)/vpx/windows.patch
ifdef HAVE_MACOSX
$(APPLY) $(SRC)/vpx/libvpx-mac.patch
$(APPLY) $(SRC)/vpx/libvpx-mac-mountain-lion.patch

View File

@ -0,0 +1,13 @@
--- 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>