cpu-test: Add unistd.h #include for getopt()

This commit is contained in:
Diego Biurrun 2014-08-13 17:17:54 +02:00
parent 30e50c5027
commit 353240541d
1 changed files with 4 additions and 0 deletions

View File

@ -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