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

Fixes compilation on FreeBSD with clang 3.
This commit is contained in:
Janne Grunau
2011-12-23 14:40:39 +01:00
parent d09298f0d6
commit 846dca1aa3
+1 -1
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"