summaryrefslogtreecommitdiff
path: root/libavcodec/pthread.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-12-28 00:48:53 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-12-28 02:38:33 +0100
commit0e5fbbd7768a6eb42809c08a5dd46093caf407d3 (patch)
treee559aec3cdf6f48bb9774fb0cf4bb51b270cda70 /libavcodec/pthread.c
parentad1c50255735c20bd86572d3e8b3c88a5ca6c8f1 (diff)
parentbd96be6e2739dbe5b7a467a318ebfb6241c15eba (diff)
Merge remote-tracking branch 'qatar/master'
* qatar/master: mpegvideo_enc: K&R cosmetics doxygen: remove unreplaced variables from custom header and footer threads: test for sys/param.h and include it for sysctl on OpenBSD v4l2: remove unneded linux specific asm/types.h include x86: Fix constraints for decode_significance*_x86 Conflicts: libavcodec/mpegvideo_enc.c libavdevice/v4l2.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/pthread.c')
-rw-r--r--libavcodec/pthread.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/pthread.c b/libavcodec/pthread.c
index e4a94843fa..c8c5f3f511 100644
--- a/libavcodec/pthread.c
+++ b/libavcodec/pthread.c
@@ -37,6 +37,9 @@
#elif HAVE_GETSYSTEMINFO
#include <windows.h>
#elif HAVE_SYSCTL
+#if HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
#include <sys/types.h>
#include <sys/param.h>
#include <sys/sysctl.h>