From 8d4668cc5f6c9147ed5bae978c7100fbbdf306a6 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. Signed-off-by: Michael Niedermayer --- libavcodec/pthread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/pthread.c b/libavcodec/pthread.c index e8bc318711..eb3e7d40b8 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"