mirror of https://git.ffmpeg.org/ffmpeg.git
cpu-test: Add unistd.h #include for getopt()
This commit is contained in:
parent
30e50c5027
commit
353240541d
|
@ -180,6 +180,10 @@ int av_cpu_count(void)
|
||||||
#ifdef TEST
|
#ifdef TEST
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#if HAVE_UNISTD_H
|
||||||
|
#include <unistd.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "avstring.h"
|
#include "avstring.h"
|
||||||
|
|
||||||
#if !HAVE_GETOPT
|
#if !HAVE_GETOPT
|
||||||
|
|
Loading…
Reference in New Issue