pthread: include sys/types.h before sys/sysctl.h

Fixes compilation on FreeBSD with clang 3.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Janne Grunau 2011-12-23 10:14:15 +01:00 committed by Michael Niedermayer
parent c25c7ba87c
commit 8d4668cc5f

View File

@ -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"