Commit a794600c authored by Martin Storsjö's avatar Martin Storsjö Committed by Ronald S. Bultje

vp8: Include the thread headers before using the pthread types

This was unnoticed on linux, since stdlib.h apparently includes
files declaring the pthread_mutex_t and pthread_cond_t types.
Signed-off-by: 's avatarRonald S. Bultje <rsbultje@gmail.com>
parent 39d18f21
...@@ -31,12 +31,6 @@ ...@@ -31,12 +31,6 @@
#include "rectangle.h" #include "rectangle.h"
#include "thread.h" #include "thread.h"
#if HAVE_PTHREADS
#include <pthread.h>
#elif HAVE_W32THREADS
#include "w32pthreads.h"
#endif
#if ARCH_ARM #if ARCH_ARM
# include "arm/vp8.h" # include "arm/vp8.h"
#endif #endif
......
...@@ -30,6 +30,11 @@ ...@@ -30,6 +30,11 @@
#include "vp56data.h" #include "vp56data.h"
#include "vp8dsp.h" #include "vp8dsp.h"
#include "h264pred.h" #include "h264pred.h"
#if HAVE_PTHREADS
#include <pthread.h>
#elif HAVE_W32THREADS
#include "w32pthreads.h"
#endif
#define VP8_MAX_QUANT 127 #define VP8_MAX_QUANT 127
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment