summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2017-03-11 13:38:19 -0700
committerJohn Stebbins <[email protected]>2017-03-11 13:38:19 -0700
commit3a4beb186fcb6b6000f12cd421afcc2e0922528a (patch)
tree62dd96f122ee0eda16096141b0eb823bce078c21 /contrib
parentbd22891d633e16d7aedddadd2e4dd716f615d847 (diff)
libvpx: fix building with our pthreadw32 contrib
Diffstat (limited to 'contrib')
-rw-r--r--contrib/libvpx/P01-mingw-vpx-semaphore.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/libvpx/P01-mingw-vpx-semaphore.patch b/contrib/libvpx/P01-mingw-vpx-semaphore.patch
new file mode 100644
index 000000000..7ef8fb95d
--- /dev/null
+++ b/contrib/libvpx/P01-mingw-vpx-semaphore.patch
@@ -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
+