diff options
author | Janne Grunau <janne-libav@jannau.net> | 2011-12-23 10:14:15 +0100 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2011-12-23 14:40:39 +0100 |
commit | 846dca1aa315ebb65845a8e4774a31e368cc463d (patch) | |
tree | 46e7574d9b1237655247a4ec5fbe79b075e1ec8d | |
parent | d09298f0d6057ec2e310aebc8955df14dc844a09 (diff) | |
download | ffmpeg-846dca1aa315ebb65845a8e4774a31e368cc463d.tar.gz |
pthread: include sys/types.h before sys/sysctl.h
Fixes compilation on FreeBSD with clang 3.
-rw-r--r-- | libavcodec/pthread.c | 2 |
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" |