summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/vp8.c6
-rw-r--r--libavcodec/vp8.h5
2 files changed, 5 insertions, 6 deletions
diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c
index ee954fc16a..e39fc0bf93 100644
--- a/libavcodec/vp8.c
+++ b/libavcodec/vp8.c
@@ -31,12 +31,6 @@
#include "rectangle.h"
#include "thread.h"
-#if HAVE_PTHREADS
-#include <pthread.h>
-#elif HAVE_W32THREADS
-#include "w32pthreads.h"
-#endif
-
#if ARCH_ARM
# include "arm/vp8.h"
#endif
diff --git a/libavcodec/vp8.h b/libavcodec/vp8.h
index 1355da4d68..458a11abe0 100644
--- a/libavcodec/vp8.h
+++ b/libavcodec/vp8.h
@@ -30,6 +30,11 @@
#include "vp56data.h"
#include "vp8dsp.h"
#include "h264pred.h"
+#if HAVE_PTHREADS
+#include <pthread.h>
+#elif HAVE_W32THREADS
+#include "w32pthreads.h"
+#endif
#define VP8_MAX_QUANT 127