diff options
author | Janne Grunau <janne-libav@jannau.net> | 2011-12-24 00:23:55 +0100 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2011-12-27 16:09:41 +0100 |
commit | 06bb590558595959089a8f4a083ce256246d56a6 (patch) | |
tree | a77c0d65e87f7ef106672a2c17c2244bb25b82ac /libavcodec/pthread.c | |
parent | 1adba23cecf1e324aba5a0e9bdd4f34742bdbf8c (diff) | |
download | ffmpeg-06bb590558595959089a8f4a083ce256246d56a6.tar.gz |
threads: test for sys/param.h and include it for sysctl on OpenBSD
Diffstat (limited to 'libavcodec/pthread.c')
-rw-r--r-- | libavcodec/pthread.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/pthread.c b/libavcodec/pthread.c index a44500b036..4356b32192 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/sysctl.h> #endif |