cpu-test: Add unistd.h #include for getopt()
This commit is contained in:
parent
30e50c5027
commit
353240541d
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue