ffmpeg | branch: master | Diego Biurrun <di...@biurrun.de> | Wed Aug 13 17:17:54 2014 +0200| [353240541d4ec317471b5cbcaa3e027d00ff8f5c] | committer: Diego Biurrun
cpu-test: Add unistd.h #include for getopt() > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=353240541d4ec317471b5cbcaa3e027d00ff8f5c --- libavutil/cpu.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavutil/cpu.c b/libavutil/cpu.c index a7e5f7f..354d21e 100644 --- a/libavutil/cpu.c +++ b/libavutil/cpu.c @@ -180,6 +180,10 @@ int av_cpu_count(void) #ifdef TEST #include <stdio.h> +#if HAVE_UNISTD_H +#include <unistd.h> +#endif + #include "avstring.h" #if !HAVE_GETOPT _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog