aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2011-12-23 10:14:15 +0100
committerJanne Grunau <janne-libav@jannau.net>2011-12-23 14:40:39 +0100
commit846dca1aa315ebb65845a8e4774a31e368cc463d (patch)
tree46e7574d9b1237655247a4ec5fbe79b075e1ec8d
parentd09298f0d6057ec2e310aebc8955df14dc844a09 (diff)
downloadffmpeg-846dca1aa315ebb65845a8e4774a31e368cc463d.tar.gz
pthread: include sys/types.h before sys/sysctl.h
Fixes compilation on FreeBSD with clang 3.
-rw-r--r--libavcodec/pthread.c2
1 files changed, 1 insertions, 1 deletions
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 <windows.h>
#elif HAVE_SYSCTL
-#include <sys/sysctl.h>
#include <sys/types.h>
+#include <sys/sysctl.h>
#endif
#include "avcodec.h"