From 846dca1aa315ebb65845a8e4774a31e368cc463d Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Fri, 23 Dec 2011 10:14:15 +0100 Subject: [PATCH] pthread: include sys/types.h before sys/sysctl.h Fixes compilation on FreeBSD with clang 3. --- libavcodec/pthread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/pthread.c b/libavcodec/pthread.c index 0b57156b99..89141504f8 100644 --- a/libavcodec/pthread.c +++ b/libavcodec/pthread.c @@ -37,8 +37,8 @@ #elif HAVE_GETSYSTEMINFO #include #elif HAVE_SYSCTL -#include #include +#include #endif #include "avcodec.h"