]> granicus.if.org Git - handbrake/commitdiff
libvpx: fix building with our pthreadw32 contrib
authorJohn Stebbins <jstebbins.hb@gmail.com>
Sat, 11 Mar 2017 20:38:19 +0000 (13:38 -0700)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Sat, 11 Mar 2017 20:38:19 +0000 (13:38 -0700)
contrib/libvpx/P01-mingw-vpx-semaphore.patch [new file with mode: 0644]

diff --git a/contrib/libvpx/P01-mingw-vpx-semaphore.patch b/contrib/libvpx/P01-mingw-vpx-semaphore.patch
new file mode 100644 (file)
index 0000000..7ef8fb9
--- /dev/null
@@ -0,0 +1,11 @@
+diff -ur libvpx-1.6.1.orig/vp8/common/threading.h libvpx-1.6.1/vp8/common/threading.h
+--- libvpx-1.6.1.orig/vp8/common/threading.h   2017-01-12 13:27:27.000000000 -0700
++++ libvpx-1.6.1/vp8/common/threading.h        2017-03-11 13:27:10.173664615 -0700
+@@ -73,6 +73,7 @@
+ #include <unistd.h>
+ #else
++#include <sys/types.h>
+ #include <semaphore.h>
+ #endif