summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compat/os2threads.h (renamed from libavcodec/os2threads.h)0
-rw-r--r--libavcodec/Makefile1
-rw-r--r--libavcodec/frame_thread_encoder.c2
-rw-r--r--libavcodec/pthread.c2
-rw-r--r--libavcodec/vp8.h2
-rw-r--r--libavfilter/pthread.c2
-rw-r--r--libavformat/network.c2
7 files changed, 6 insertions, 5 deletions
diff --git a/libavcodec/os2threads.h b/compat/os2threads.h
index b816bff15f..b816bff15f 100644
--- a/libavcodec/os2threads.h
+++ b/compat/os2threads.h
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index ad42d1aebb..32d51a1066 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -803,7 +803,6 @@ SKIPHEADERS-$(CONFIG_MPEG_XVMC_DECODER) += xvmc.h
SKIPHEADERS-$(CONFIG_VAAPI) += vaapi_internal.h
SKIPHEADERS-$(CONFIG_VDA) += vda.h
SKIPHEADERS-$(CONFIG_VDPAU) += vdpau.h
-SKIPHEADERS-$(HAVE_OS2THREADS) += os2threads.h
TESTPROGS = cabac \
dct \
diff --git a/libavcodec/frame_thread_encoder.c b/libavcodec/frame_thread_encoder.c
index 80577ec9c4..b9acefc110 100644
--- a/libavcodec/frame_thread_encoder.c
+++ b/libavcodec/frame_thread_encoder.c
@@ -32,7 +32,7 @@
#elif HAVE_W32THREADS
#include "compat/w32pthreads.h"
#elif HAVE_OS2THREADS
-#include "os2threads.h"
+#include "compat/os2threads.h"
#endif
#define MAX_THREADS 64
diff --git a/libavcodec/pthread.c b/libavcodec/pthread.c
index 259dab0d8c..7968a61358 100644
--- a/libavcodec/pthread.c
+++ b/libavcodec/pthread.c
@@ -43,7 +43,7 @@
#elif HAVE_W32THREADS
#include "compat/w32pthreads.h"
#elif HAVE_OS2THREADS
-#include "os2threads.h"
+#include "compat/os2threads.h"
#endif
typedef int (action_func)(AVCodecContext *c, void *arg);
diff --git a/libavcodec/vp8.h b/libavcodec/vp8.h
index 1bba79e415..3bc06a7c58 100644
--- a/libavcodec/vp8.h
+++ b/libavcodec/vp8.h
@@ -38,7 +38,7 @@
#elif HAVE_W32THREADS
#include "compat/w32pthreads.h"
#elif HAVE_OS2THREADS
-#include "os2threads.h"
+#include "compat/os2threads.h"
#endif
#define VP8_MAX_QUANT 127
diff --git a/libavfilter/pthread.c b/libavfilter/pthread.c
index 0630ad2f50..eb40f0058e 100644
--- a/libavfilter/pthread.c
+++ b/libavfilter/pthread.c
@@ -34,6 +34,8 @@
#if HAVE_PTHREADS
#include <pthread.h>
+#elif HAVE_OS2THREADS
+#include "compat/os2threads.h"
#elif HAVE_W32THREADS
#include "compat/w32pthreads.h"
#endif
diff --git a/libavformat/network.c b/libavformat/network.c
index abb89b331e..766351eb6e 100644
--- a/libavformat/network.c
+++ b/libavformat/network.c
@@ -29,7 +29,7 @@
#if HAVE_PTHREADS
#include <pthread.h>
#elif HAVE_OS2THREADS
-#include "libavcodec/os2threads.h"
+#include "compat/os2threads.h"
#else
#include "compat/w32pthreads.h"
#endif