Module: libav Branch: master Commit: 846dca1aa315ebb65845a8e4774a31e368cc463d
Author: Janne Grunau <[email protected]> Committer: Janne Grunau <[email protected]> Date: Fri Dec 23 10:14:15 2011 +0100 pthread: include sys/types.h before sys/sysctl.h Fixes compilation on FreeBSD with clang 3. --- libavcodec/pthread.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/pthread.c b/libavcodec/pthread.c index 0b57156..8914150 100644 --- a/libavcodec/pthread.c +++ b/libavcodec/pthread.c @@ -37,8 +37,8 @@ #elif HAVE_GETSYSTEMINFO #include <windows.h> #elif HAVE_SYSCTL -#include <sys/sysctl.h> #include <sys/types.h> +#include <sys/sysctl.h> #endif #include "avcodec.h" _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
