summaryrefslogtreecommitdiffstats
path: root/contrib/libvpx/P01-mingw-vpx-semaphore.patch
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libvpx/P01-mingw-vpx-semaphore.patch')
-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
+