[vlc-commits] contrib: vpx: missing header
Rafaël Carré
git at videolan.org
Wed Mar 13 01:03:19 CET 2013
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed Mar 13 01:02:41 2013 +0100| [e3d6ee99c60ef86979b8edd07149cfe9d9e1a6e3] | committer: Rafaël Carré
contrib: vpx: missing header
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e3d6ee99c60ef86979b8edd07149cfe9d9e1a6e3
---
contrib/src/vpx/rules.mak | 1 +
contrib/src/vpx/windows.patch | 13 +++++++++++++
2 files changed, 14 insertions(+)
diff --git a/contrib/src/vpx/rules.mak b/contrib/src/vpx/rules.mak
index 7d86398..b8f0746 100644
--- a/contrib/src/vpx/rules.mak
+++ b/contrib/src/vpx/rules.mak
@@ -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
diff --git a/contrib/src/vpx/windows.patch b/contrib/src/vpx/windows.patch
new file mode 100644
index 0000000..d722d21
--- /dev/null
+++ b/contrib/src/vpx/windows.patch
@@ -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>
More information about the vlc-commits
mailing list